1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  * Copyright (C) 2018 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  -->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:orientation="horizontal"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content">
22
23    <TextView android:id="@+id/username_label"
24        android:visibility="visible"
25        android:paddingEnd="16dp"
26        android:layout_width="wrap_content"
27        android:layout_height="match_parent"
28        android:text="User:"/>
29
30    <TextView android:id="@+id/username_plain"
31        android:visibility="gone"
32        android:paddingEnd="16dp"
33        android:layout_width="wrap_content"
34        android:layout_height="match_parent"
35        android:text="IF YOU SEE ME, SOMETHING IS WRONG"/>
36
37    <TextView android:id="@+id/username_masked"
38        android:visibility="visible"
39        android:paddingEnd="16dp"
40        android:layout_width="wrap_content"
41        android:layout_height="match_parent"
42        android:text="****"/>
43
44    <TextView android:id="@+id/password_label"
45        android:visibility="visible"
46        android:paddingEnd="16dp"
47        android:layout_width="wrap_content"
48        android:layout_height="match_parent"
49        android:text="Pass:"/>
50
51    <TextView android:id="@+id/password_plain"
52        android:visibility="gone"
53        android:paddingEnd="16dp"
54        android:layout_width="wrap_content"
55        android:layout_height="match_parent"
56        android:text="IF YOU SEE ME, SOMETHING IS WRONG"/>
57
58    <TextView android:id="@+id/password_masked"
59        android:visibility="visible"
60        android:paddingEnd="16dp"
61        android:layout_width="wrap_content"
62        android:layout_height="match_parent"
63        android:text="...."/>
64
65    <Button android:id="@+id/show"
66        android:visibility="visible"
67        android:paddingEnd="16dp"
68        android:layout_width="wrap_content"
69        android:layout_height="match_parent"
70        android:text="SHOW"/>
71
72    <Button android:id="@+id/hide"
73        android:visibility="gone"
74        android:paddingEnd="16dp"
75        android:layout_width="wrap_content"
76        android:layout_height="match_parent"
77        android:text="HIDE"/>
78</LinearLayout>