1 <?xml version="1.0" encoding="utf-8"?>
2 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:padding="16dp" >
8 android:layout_width="match_parent"
9 android:layout_height="48dp" >
11 android:layout_width="wrap_content"
12 android:layout_height="match_parent"
13 android:gravity="center_vertical|right"
14 android:text="@string/interval"
15 android:paddingRight="8dp" />
18 android:id="@+id/issuer"
19 android:layout_width="0dp"
20 android:layout_height="match_parent"
21 android:layout_weight="1"
22 android:hint="jdoe@example.com"
23 android:textAppearance="?android:attr/textAppearanceSmallInverse" />
27 android:layout_width="match_parent"
28 android:layout_height="48dp" >
31 android:layout_width="wrap_content"
32 android:layout_height="match_parent"
33 android:gravity="center_vertical|right"
34 android:text="@string/id"
35 android:paddingRight="8dp" />
39 android:layout_width="0dp"
40 android:layout_height="match_parent"
41 android:layout_weight="1"
42 android:hint="18c5d06cfcbd4927"
43 android:textAppearance="?android:attr/textAppearanceSmallInverse" />
47 android:layout_width="match_parent"
48 android:layout_height="48dp" >
51 android:layout_width="wrap_content"
52 android:layout_height="match_parent"
53 android:gravity="center_vertical|right"
54 android:text="@string/secret"
55 android:paddingRight="8dp" />
58 android:id="@+id/secret"
59 android:layout_width="0dp"
60 android:layout_height="match_parent"
61 android:layout_weight="1"
62 android:digits="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ234567="
63 android:hint="Base32 (ex. 'GEZDGNBV')"
64 android:textAppearance="?android:attr/textAppearanceSmall" />
68 android:layout_width="match_parent"
69 android:layout_height="1dp"
70 android:layout_marginTop="12dp"
71 android:layout_marginBottom="4dp"
72 android:background="?android:attr/dividerHorizontal"
76 android:layout_width="match_parent"
77 android:layout_height="48dp" >
79 android:layout_width="wrap_content"
80 android:layout_height="match_parent"
81 android:gravity="center_vertical|right"
82 android:text="@string/type"
83 android:paddingRight="8dp" />
86 android:id="@+id/type"
87 android:layout_width="0dp"
88 android:layout_height="match_parent"
89 android:layout_weight="1"
90 android:entries="@array/token_types" />
94 android:layout_width="match_parent"
95 android:layout_height="48dp" >
97 android:layout_width="wrap_content"
98 android:layout_height="match_parent"
99 android:gravity="center_vertical|right"
100 android:text="@string/algorithm"
101 android:paddingRight="8dp" />
104 android:id="@+id/algorithm"
105 android:layout_width="0dp"
106 android:layout_height="match_parent"
107 android:layout_weight="1"
108 android:entries="@array/algorithms" />
112 android:layout_width="match_parent"
113 android:layout_height="48dp" >
115 android:id="@+id/interval_label"
116 android:layout_width="wrap_content"
117 android:layout_height="match_parent"
118 android:gravity="center_vertical|right"
119 android:text="@string/interval"
120 android:paddingRight="8dp" />
123 android:id="@+id/interval"
124 android:layout_width="0dp"
125 android:layout_height="match_parent"
126 android:layout_weight="1"
127 android:inputType="number"
132 android:layout_width="match_parent"
133 android:layout_height="48dp" >
135 android:layout_width="wrap_content"
136 android:layout_height="match_parent"
137 android:gravity="center_vertical|right"
138 android:text="@string/digits"
139 android:paddingRight="8dp" />
142 android:layout_width="0dp"
143 android:layout_height="match_parent"
144 android:layout_weight="1"
145 android:orientation="horizontal" >
147 android:id="@+id/digits6"
148 android:layout_width="0dp"
149 android:layout_height="match_parent"
150 android:layout_weight="1"
152 android:checked="true" />
155 android:id="@+id/digits8"
156 android:layout_width="0dp"
157 android:layout_height="match_parent"
158 android:layout_weight="1"