glaznev@webrtc.org | 7bb4a98 | 2014-10-22 17:43:37 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 4 | android:layout_margin="16dp" |
| 5 | android:layout_width="match_parent" |
| 6 | android:layout_height="match_parent" |
| 7 | android:orientation="vertical" |
| 8 | android:weightSum="1" |
| 9 | android:layout_centerHorizontal="true"> |
glaznev@webrtc.org | 5f38c8d | 2014-11-03 22:18:52 +0000 | [diff] [blame] | 10 | |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 11 | <TextView |
| 12 | android:id="@+id/room_edittext_description" |
glaznev@webrtc.org | 5f38c8d | 2014-11-03 22:18:52 +0000 | [diff] [blame] | 13 | android:layout_width="match_parent" |
| 14 | android:layout_height="wrap_content" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 15 | android:text="@string/room_description"/> |
| 16 | |
| 17 | <LinearLayout |
| 18 | android:orientation="horizontal" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:gravity="center" |
| 22 | android:layout_marginBottom="8dp"> |
| 23 | |
| 24 | <EditText |
glaznev@webrtc.org | 5f38c8d | 2014-11-03 22:18:52 +0000 | [diff] [blame] | 25 | android:id="@+id/room_edittext" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 26 | android:layout_width="0dp" |
glaznev@webrtc.org | 7bb4a98 | 2014-10-22 17:43:37 +0000 | [diff] [blame] | 27 | android:layout_height="wrap_content" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 28 | android:layout_weight="1" |
sakal | 44116a5 | 2017-05-03 03:19:08 -0700 | [diff] [blame] | 29 | android:maxLines="1" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 30 | android:imeOptions="actionDone" |
| 31 | android:inputType="text"/> |
| 32 | |
| 33 | <ImageButton |
| 34 | android:id="@+id/connect_button" |
| 35 | android:layout_width="48dp" |
| 36 | android:layout_height="48dp" |
| 37 | android:contentDescription="@string/connect_description" |
| 38 | android:background="@android:drawable/sym_action_call" /> |
sakal | 05cdb85 | 2016-05-24 00:18:09 -0700 | [diff] [blame] | 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" /> |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 46 | </LinearLayout> |
| 47 | |
glaznev@webrtc.org | 7bb4a98 | 2014-10-22 17:43:37 +0000 | [diff] [blame] | 48 | <TextView |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 49 | android:id="@+id/room_listview_description" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="48dp" |
| 52 | android:layout_marginTop="8dp" |
| 53 | android:lines="1" |
| 54 | android:maxLines="1" |
| 55 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 56 | android:text="@string/favorites" |
| 57 | android:gravity="center_vertical"/> |
| 58 | |
| 59 | <FrameLayout |
| 60 | android:layout_width="match_parent" |
| 61 | android:layout_height="0dp" |
| 62 | android:layout_weight="1"> |
| 63 | |
| 64 | <ListView |
glaznev@webrtc.org | 5f38c8d | 2014-11-03 22:18:52 +0000 | [diff] [blame] | 65 | android:id="@+id/room_listview" |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 66 | android:layout_width="match_parent" |
| 67 | android:layout_height="match_parent" |
glaznev@webrtc.org | 5f38c8d | 2014-11-03 22:18:52 +0000 | [diff] [blame] | 68 | android:drawSelectorOnTop="false" /> |
glaznev@webrtc.org | 7bb4a98 | 2014-10-22 17:43:37 +0000 | [diff] [blame] | 69 | |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 70 | <TextView |
| 71 | android:id="@android:id/empty" |
| 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="match_parent" |
| 74 | android:gravity="center" |
| 75 | android:text="@string/no_favorites" /> |
Sami Kalliomäki | 57f95dc | 2016-05-16 16:21:28 +0200 | [diff] [blame] | 76 | </FrameLayout> |
sakal | 44116a5 | 2017-05-03 03:19:08 -0700 | [diff] [blame] | 77 | </LinearLayout> |