mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
84496b3012
into superclass that NBSInviteActivity can share and use to make their UIs similar: fetch mobile numbers from DB one-at-a-time, keep a list there, and let you check then delete or return. Rough, and doesn't save state the way BT does, but works.
73 lines
2.9 KiB
XML
73 lines
2.9 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"
|
|
/>
|
|
|
|
<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" -->
|
|
<!-- > -->
|
|
<!-- <EditText android:id="@+id/phone_edit" -->
|
|
<!-- android:layout_height="wrap_content" -->
|
|
<!-- android:layout_width="fill_parent" -->
|
|
<!-- android:layout_marginLeft="20dip" -->
|
|
<!-- android:layout_marginRight="20dip" -->
|
|
<!-- android:scrollHorizontally="true" -->
|
|
<!-- android:phoneNumber="true" -->
|
|
<!-- android:singleLine="true" -->
|
|
<!-- android:maxLength="15" -->
|
|
<!-- android:selectAllOnFocus="true" -->
|
|
<!-- android:textAppearance="?android:attr/textAppearanceMedium" -->
|
|
<!-- android:layout_weight="1" -->
|
|
<!-- android:hint="new number" -->
|
|
<!-- /> -->
|
|
<!-- <Button android:id="@+id/button_insert" -->
|
|
<!-- android:text="Insert" -->
|
|
<!-- android:layout_width="fill_parent" -->
|
|
<!-- android:layout_height="wrap_content" -->
|
|
<!-- android:layout_weight="1" -->
|
|
<!-- /> -->
|
|
<!-- </LinearLayout> -->
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<Button android:id="@+id/button_add"
|
|
android:text="@string/button_nbs_add"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
/>
|
|
<Button android:id="@+id/button_clear"
|
|
android:text="@string/bt_pick_clear_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<Button android:id="@+id/button_invite"
|
|
android:text="@string/button_invite"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</LinearLayout>
|