OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <LinearLayout | 2 <LinearLayout |
3 xmlns:android="http://schemas.android.com/apk/res/android" | 3 xmlns:android="http://schemas.android.com/apk/res/android" |
4 xmlns:app="http://schemas.android.com/apk/res-auto" | |
5 android:layout_margin="16dp" | 4 android:layout_margin="16dp" |
6 android:layout_width="match_parent" | 5 android:layout_width="match_parent" |
7 android:layout_height="match_parent" | 6 android:layout_height="match_parent" |
8 android:orientation="vertical" | 7 android:orientation="vertical" |
9 android:weightSum="1" | 8 android:weightSum="1" |
10 android:layout_centerHorizontal="true"> | 9 android:layout_centerHorizontal="true"> |
11 | 10 |
12 <TextView | 11 <TextView |
13 android:id="@+id/room_edittext_description" | 12 android:id="@+id/room_edittext_description" |
14 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
(...skipping 15 matching lines...) Expand all Loading... |
30 android:singleLine="true" | 29 android:singleLine="true" |
31 android:imeOptions="actionDone" | 30 android:imeOptions="actionDone" |
32 android:inputType="text"/> | 31 android:inputType="text"/> |
33 | 32 |
34 <ImageButton | 33 <ImageButton |
35 android:id="@+id/connect_button" | 34 android:id="@+id/connect_button" |
36 android:layout_width="48dp" | 35 android:layout_width="48dp" |
37 android:layout_height="48dp" | 36 android:layout_height="48dp" |
38 android:contentDescription="@string/connect_description" | 37 android:contentDescription="@string/connect_description" |
39 android:background="@android:drawable/sym_action_call" /> | 38 android:background="@android:drawable/sym_action_call" /> |
| 39 |
| 40 <ImageButton |
| 41 android:id="@+id/add_favorite_button" |
| 42 android:layout_width="48dp" |
| 43 android:layout_height="48dp" |
| 44 android:contentDescription="@string/add_favorite_description" |
| 45 android:background="@android:drawable/ic_input_add" /> |
40 </LinearLayout> | 46 </LinearLayout> |
41 | 47 |
42 <TextView | 48 <TextView |
43 android:id="@+id/room_listview_description" | 49 android:id="@+id/room_listview_description" |
44 android:layout_width="match_parent" | 50 android:layout_width="match_parent" |
45 android:layout_height="48dp" | 51 android:layout_height="48dp" |
46 android:layout_marginTop="8dp" | 52 android:layout_marginTop="8dp" |
47 android:lines="1" | 53 android:lines="1" |
48 android:maxLines="1" | 54 android:maxLines="1" |
49 android:textAppearance="?android:attr/textAppearanceMedium" | 55 android:textAppearance="?android:attr/textAppearanceMedium" |
(...skipping 10 matching lines...) Expand all Loading... |
60 android:layout_width="match_parent" | 66 android:layout_width="match_parent" |
61 android:layout_height="match_parent" | 67 android:layout_height="match_parent" |
62 android:drawSelectorOnTop="false" /> | 68 android:drawSelectorOnTop="false" /> |
63 | 69 |
64 <TextView | 70 <TextView |
65 android:id="@android:id/empty" | 71 android:id="@android:id/empty" |
66 android:layout_width="match_parent" | 72 android:layout_width="match_parent" |
67 android:layout_height="match_parent" | 73 android:layout_height="match_parent" |
68 android:gravity="center" | 74 android:gravity="center" |
69 android:text="@string/no_favorites" /> | 75 android:text="@string/no_favorites" /> |
70 | |
71 <android.support.design.widget.FloatingActionButton | |
72 android:id="@+id/add_favorite_button" | |
73 android:layout_width="56dp" | |
74 android:layout_height="56dp" | |
75 android:layout_margin="8dp" | |
76 android:layout_gravity="bottom|end" | |
77 android:src="@drawable/ic_add_white_24dp" | |
78 android:contentDescription="@string/add_favorite_description" | |
79 app:backgroundTint="@android:color/holo_green_dark" | |
80 app:elevation="8dp"/> | |
81 </FrameLayout> | 76 </FrameLayout> |
82 </LinearLayout> | 77 </LinearLayout> |
OLD | NEW |