Updated UI to allow the user to select different dice, removed old
unneeded code Change-Id: Iecfc11ed9663ec302d362fa8da4a3cd81d8e7d82
This commit is contained in:
30
ExaltedDice/res/layout/dice_selector.xml
Normal file
30
ExaltedDice/res/layout/dice_selector.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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" >
|
||||
|
||||
<NumberPicker
|
||||
android:id="@+id/d_Picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginLeft="10dip" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_toRightOf="@id/d_Picker"
|
||||
android:text="Number"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<NumberPicker
|
||||
android:id="@+id/number_Picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@+id/textView2" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user