2014-10-22 19:43:37 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:layout_centerHorizontal="true">
|
2014-11-03 23:18:52 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/add_room_button"
|
|
|
|
android:background="@android:drawable/ic_menu_add"
|
|
|
|
android:contentDescription="@string/add_room_description"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/remove_room_button"
|
|
|
|
android:background="@android:drawable/ic_delete"
|
|
|
|
android:contentDescription="@string/remove_room_description"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/connect_button"
|
|
|
|
android:background="@android:drawable/sym_action_call"
|
|
|
|
android:contentDescription="@string/connect_description"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/connect_loopback_button"
|
|
|
|
android:background="@drawable/ic_loopback_call"
|
|
|
|
android:contentDescription="@string/connect_loopback_description"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
</LinearLayout>
|
2014-10-22 19:43:37 +02:00
|
|
|
<TextView
|
2014-11-03 23:18:52 +01:00
|
|
|
android:id="@+id/room_edittext_description"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:text="@string/room_description"/>
|
2014-10-22 19:43:37 +02:00
|
|
|
<EditText
|
2014-11-03 23:18:52 +01:00
|
|
|
android:id="@+id/room_edittext"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:imeOptions="actionDone"/>
|
2014-10-22 19:43:37 +02:00
|
|
|
<TextView
|
2014-11-03 23:18:52 +01:00
|
|
|
android:id="@+id/room_listview_description"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLines="1"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:text="@string/room_names"/>
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/room_listview"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:choiceMode="singleChoice"
|
|
|
|
android:listSelector="@android:color/darker_gray"
|
|
|
|
android:drawSelectorOnTop="false" />
|
2014-10-22 19:43:37 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|