-
Notifications
You must be signed in to change notification settings - Fork 383
Expand file tree
/
Copy pathactivity_main.xml
More file actions
61 lines (54 loc) · 2.22 KB
/
activity_main.xml
File metadata and controls
61 lines (54 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".TokenActivity">
<com.tokenautocomplete.ContactsCompletionView
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/email_prompt"
android:imeOptions="actionDone"
android:textColor="@android:color/darker_gray"
android:textSize="16sp"
android:lineSpacingExtra="1dp"
android:nextFocusDown="@+id/editText"
android:inputType="text|textNoSuggestions|textMultiLine"
android:focusableInTouchMode="true" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/lastEvent"
android:layout_below="@+id/searchView"
android:layout_alignLeft="@+id/searchView"
android:layout_marginTop="20dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/editText"
android:layout_below="@+id/lastEvent"
android:text="test focus loss" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Remove last token"
android:id="@+id/removeButton"
android:layout_below="@+id/editText"
android:layout_centerHorizontal="true" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Add random token"
android:id="@+id/addButton"
android:layout_below="@id/removeButton"
android:layout_centerHorizontal="true" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/tokens"
android:layout_below="@id/addButton"
android:layout_alignLeft="@id/lastEvent"
android:layout_marginTop="10dp" />
</RelativeLayout>