2019-01-18 22:40:08 +01:00
|
|
|
<?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" />
|
|
|
|
|
2019-05-16 13:57:37 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2019-01-18 22:40:08 +01:00
|
|
|
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>
|