2014-10-08 07:41:04 +10:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
2015-07-13 16:05:00 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/fdroid_blue"
|
|
|
|
>
|
2014-10-08 07:41:04 +10:30
|
|
|
|
|
|
|
<TextView
|
2014-10-14 07:02:19 +10:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/device_name_prefix"
|
2015-04-12 00:14:28 +10:00
|
|
|
android:text="@string/swap_bluetooth_your_device"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
style="@style/SwapTheme.BluetoothDeviceList.Heading"
|
|
|
|
android:paddingTop="10dp"
|
2015-07-13 16:05:00 -04:00
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:textSize="24sp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
/>
|
2014-10-14 07:02:19 +10:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/device_name"
|
2015-04-12 00:14:28 +10:00
|
|
|
tools:text="Phone v2.0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
style="@style/SwapTheme.BluetoothDeviceList.Heading"
|
2015-07-13 16:05:00 -04:00
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
/>
|
2014-10-14 07:02:19 +10:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2014-10-08 07:41:04 +10:30
|
|
|
android:layout_height="wrap_content"
|
2014-10-14 07:02:19 +10:30
|
|
|
android:id="@+id/device_address"
|
|
|
|
tools:text="(01:02:03:ab:cd:ef)"
|
2015-04-12 00:14:28 +10:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
style="@style/SwapTheme.BluetoothDeviceList.Heading"
|
2015-07-13 16:05:00 -04:00
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
/>
|
2014-10-08 07:41:04 +10:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-04-12 00:14:28 +10:00
|
|
|
android:text="@string/swap_bluetooth_select_or_scan"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
style="@style/SwapTheme.BluetoothDeviceList.Text"
|
|
|
|
android:paddingLeft="20dp"
|
|
|
|
android:paddingRight="20dp"
|
2015-07-13 16:05:00 -04:00
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
|
|
|
/>
|
2014-10-08 07:41:04 +10:30
|
|
|
|
2014-10-14 07:02:19 +10:30
|
|
|
<android.support.v4.widget.ContentLoadingProgressBar
|
2015-04-12 00:14:28 +10:00
|
|
|
android:layout_width="match_parent"
|
2014-10-08 07:41:04 +10:30
|
|
|
android:layout_height="wrap_content"
|
2015-04-12 00:14:28 +10:00
|
|
|
android:id="@+id/loading_indicator"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:indeterminate="true"
|
|
|
|
style="?android:attr/android:progressBarStyleHorizontal"/>
|
2014-10-08 07:41:04 +10:30
|
|
|
|
|
|
|
</LinearLayout>
|