mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
2beb897b2c
seconds to discover that some 20-miles-away device isn't here and resisting use of concurrency, with simple listing of paired devices. If user tries to invite a headset, try and fail with an error message. Fix up re-invite and detection of whether players are missing to support this.
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
>
|
|
|
|
<TextView android:id="@+id/invite_desc"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:padding="8dp"
|
|
/>
|
|
|
|
<ListView android:id="@id/android:list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:drawSelectorOnTop="false"
|
|
android:layout_weight="1"
|
|
android:padding="8dp"
|
|
/>
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<Button android:id="@+id/button_rescan"
|
|
android:text="@string/bt_pick_addall_button"
|
|
style="@style/evenly_spaced_horizontal"
|
|
/>
|
|
<!-- <Button android:id="@+id/button_reconfigure" -->
|
|
<!-- android:text="@string/bt_pick_reconfig_button" -->
|
|
<!-- android:layout_width="wrap_content" -->
|
|
<!-- android:layout_height="wrap_content" -->
|
|
<!-- android:layout_weight="1" -->
|
|
<!-- /> -->
|
|
<Button android:id="@+id/button_clear"
|
|
android:text="@string/bt_pick_clear_button"
|
|
style="@style/evenly_spaced_horizontal"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<Button android:id="@+id/button_invite"
|
|
android:text="@string/button_invite"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</LinearLayout>
|