BobStore/F-Droid/res/layout/swap_bluetooth_header.xml

61 lines
2.3 KiB
XML
Raw Normal View History

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"
android:layout_height="wrap_content">
<TextView
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"
android:paddingBottom="10dp"
android:textSize="24sp"/>
<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"
android:paddingBottom="10dp"/>
<TextView
android:layout_width="wrap_content"
2014-10-08 07:41:04 +10:30
android:layout_height="wrap_content"
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"
android:paddingBottom="20dp"
android:textSize="24sp"/>
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"
android:paddingBottom="10dp"/>
2014-10-08 07:41:04 +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>