mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-25 07:58:33 +01:00
b5ae54f313
works between linux and Android clients. Required renaming so struct names and names of fields within match in c and java code. The point is to test this as the foundation of rematch: now you have to type in a deviceID in order to invite, which clearly sucks for users. Either that goes away, or it's replaced with something that scans existing games and lists past opponents as possible invitees.
58 lines
2.1 KiB
XML
58 lines
2.1 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"
|
|
/>
|
|
|
|
<TextView android:id="@android:id/empty"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/empty_relay_inviter"
|
|
android:padding="20dp"
|
|
/>
|
|
|
|
<Button android:id="@+id/button_invite"
|
|
android:text="@string/button_invite"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="10dip"
|
|
/>
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<Button android:id="@+id/button_add"
|
|
android:text="@string/button_relay_add"
|
|
style="@style/evenly_spaced_horizontal"
|
|
/>
|
|
<ImageButton android:id="@+id/manual_add_button"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="wrap_content"
|
|
android:src="@android:drawable/ic_input_add"
|
|
android:clickable="false"
|
|
/>
|
|
<Button android:id="@+id/button_clear"
|
|
android:text="@string/bt_pick_clear_button"
|
|
style="@style/evenly_spaced_horizontal"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|