105 lines
3.4 KiB
XML
105 lines
3.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:visibility="gone"
|
||
|
android:id="@+id/device_search_section"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:padding="16dp"
|
||
|
android:text="@string/searching_for_devices"
|
||
|
android:textSize="20sp" />
|
||
|
|
||
|
<android.support.v7.widget.RecyclerView
|
||
|
android:id="@+id/device_list"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="1" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:visibility="gone"
|
||
|
android:id="@+id/please_wait_section"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:padding="16dp"
|
||
|
android:text="@string/please_wait"
|
||
|
android:textSize="20sp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:visibility="gone"
|
||
|
android:id="@+id/code_compare_section"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="16dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:padding="16dp"
|
||
|
android:text="@string/code_compare"
|
||
|
android:textSize="20sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/code"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:padding="16dp"
|
||
|
android:textSize="30sp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/no"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/no" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/yes"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/yes" />
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:visibility="gone"
|
||
|
android:id="@+id/pairing_completed_section"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="16dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textSize="20sp"
|
||
|
android:text="@string/pairing_completed" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/exit"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/exit" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|