Currently the roll modifier is from -5 to + 50. This can be updated via values/mod.xml Change-Id: I32c5d7ed1c67e0d8bc1b1434025d14134f8bc583 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
55 lines
1.9 KiB
XML
Executable File
55 lines
1.9 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:myapp="com.TwentyCode.android.ExaltedDice"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:orientation="horizontal" >
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2" >
|
|
|
|
<include
|
|
android:id="@+id/die_selector"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_gravity="center"
|
|
layout="@layout/dice_selector" />
|
|
</RelativeLayout>
|
|
|
|
<Button
|
|
android:id="@+id/roll_button"
|
|
android:layout_width="0px"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:text="@string/roll" />
|
|
</LinearLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/ad"
|
|
android:layout_below="@id/holder"
|
|
android:layout_gravity="top" />
|
|
|
|
<com.admob.android.ads.AdView
|
|
android:id="@id/ad"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="bottom"
|
|
myapp:backgroundColor="#000000"
|
|
myapp:primaryTextColor="#FFFFFF"
|
|
myapp:secondaryTextColor="#CCCCCC" />
|
|
|
|
</RelativeLayout> |