This option allows the user to select their gaming system. This will allow us to fine tune the UI of exalted dice to better suit the gaming system of each particular game. Note This only commit does not handle applying the game mode in ExaltedDice.java Change-Id: I035fe4441027e6536f6d89d038818dc939c26e55 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/linearLayout1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerHorizontal="true" >
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
|
|
<EditText
|
|
android:id="@+id/editText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginRight="5dip"
|
|
android:hint="@string/game_name"
|
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
|
|
<Spinner
|
|
android:id="@+id/game_mode_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_below="@id/linearLayout1"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginRight="5dip"
|
|
android:entries="@array/game_modes"
|
|
android:prompt="@string/game_mode" />
|
|
|
|
<Button
|
|
android:id="@+id/new_game_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/game_mode_spinner"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginRight="5dip"
|
|
android:text="@string/create_new_game" />
|
|
|
|
</RelativeLayout> |