OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <LinearLayout | |
3 xmlns:android="http://schemas.android.com/apk/res/android" | |
4 android:layout_width="match_parent" | |
5 android:layout_height="match_parent" | |
6 android:orientation="vertical" | |
7 android:weightSum="1" | |
8 android:layout_margin="8dp" | |
9 android:layout_centerHorizontal="true"> | |
10 | |
11 <LinearLayout | |
12 android:layout_width="match_parent" | |
13 android:layout_height="wrap_content" | |
14 android:orientation="horizontal" > | |
15 <ImageButton | |
16 android:id="@+id/add_room_button" | |
17 android:background="@android:drawable/ic_menu_add" | |
18 android:contentDescription="@string/add_room_description" | |
19 android:layout_marginEnd="20dp" | |
20 android:layout_width="48dp" | |
21 android:layout_height="48dp"/> | |
22 <ImageButton | |
23 android:id="@+id/remove_room_button" | |
24 android:background="@android:drawable/ic_delete" | |
25 android:contentDescription="@string/remove_room_description" | |
26 android:layout_marginEnd="20dp" | |
27 android:layout_width="48dp" | |
28 android:layout_height="48dp"/> | |
29 <ImageButton | |
30 android:id="@+id/connect_button" | |
31 android:background="@android:drawable/sym_action_call" | |
32 android:contentDescription="@string/connect_description" | |
33 android:layout_marginEnd="20dp" | |
34 android:layout_width="48dp" | |
35 android:layout_height="48dp"/> | |
36 <ImageButton | |
37 android:id="@+id/connect_loopback_button" | |
38 android:background="@drawable/ic_loopback_call" | |
39 android:contentDescription="@string/connect_loopback_description
" | |
40 android:layout_width="48dp" | |
41 android:layout_height="48dp"/> | |
42 </LinearLayout> | |
43 <TextView | |
44 android:id="@+id/room_edittext_description" | |
45 android:layout_width="fill_parent" | |
46 android:layout_height="wrap_content" | |
47 android:layout_margin="5dp" | |
48 android:text="@string/room_description"/> | |
49 <EditText | |
50 android:id="@+id/room_edittext" | |
51 android:layout_width="match_parent" | |
52 android:layout_height="wrap_content" | |
53 android:singleLine="true" | |
54 android:imeOptions="actionDone"/> | |
55 <TextView | |
56 android:id="@+id/room_listview_description" | |
57 android:layout_width="fill_parent" | |
58 android:layout_height="wrap_content" | |
59 android:layout_marginTop="5dp" | |
60 android:lines="1" | |
61 android:maxLines="1" | |
62 android:textAppearance="?android:attr/textAppearanceMedium" | |
63 android:text="@string/room_names"/> | |
64 <ListView | |
65 android:id="@+id/room_listview" | |
66 android:layout_width="fill_parent" | |
67 android:layout_height="wrap_content" | |
68 android:choiceMode="singleChoice" | |
69 android:listSelector="@android:color/darker_gray" | |
70 android:drawSelectorOnTop="false" /> | |
71 | |
72 </LinearLayout> | |
OLD | NEW |