blob: 83707f72ed07f7cbd71445ea4ce4c378426bd963 [file] [log] [blame]
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +00001<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +02003 xmlns:android="http://schemas.android.com/apk/res/android"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +02004 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.org5f38c8d2014-11-03 22:18:52 +000010
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020011 <TextView
12 android:id="@+id/room_edittext_description"
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +000013 android:layout_width="match_parent"
14 android:layout_height="wrap_content"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020015 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.org5f38c8d2014-11-03 22:18:52 +000025 android:id="@+id/room_edittext"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020026 android:layout_width="0dp"
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +000027 android:layout_height="wrap_content"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020028 android:layout_weight="1"
sakal44116a52017-05-03 03:19:08 -070029 android:maxLines="1"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020030 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" />
sakal05cdb852016-05-24 00:18:09 -070039
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äki57f95dc2016-05-16 16:21:28 +020046 </LinearLayout>
47
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +000048 <TextView
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020049 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.org5f38c8d2014-11-03 22:18:52 +000065 android:id="@+id/room_listview"
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020066 android:layout_width="match_parent"
67 android:layout_height="match_parent"
glaznev@webrtc.org5f38c8d2014-11-03 22:18:52 +000068 android:drawSelectorOnTop="false" />
glaznev@webrtc.org7bb4a982014-10-22 17:43:37 +000069
Sami Kalliomäki57f95dc2016-05-16 16:21:28 +020070 <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äki57f95dc2016-05-16 16:21:28 +020076 </FrameLayout>
sakal44116a52017-05-03 03:19:08 -070077</LinearLayout>