Files
exalted_dice/ExaltedDice/res/layout/main.xml
Ricky Barrette 6a79e95d66 Updated UI to allow the user to select different dice, removed old
unneeded code

Change-Id: Iecfc11ed9663ec302d362fa8da4a3cd81d8e7d82
2012-02-04 00:37:15 -05:00

41 lines
1.4 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" >
<include
android:id="@+id/die_selector"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
layout="@layout/dice_selector" />
<Button
android:id="@+id/roll_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/die_selector"
android:text="Roll!" />
<ListView
android:id="@+id/list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/ad"
android:layout_below="@id/roll_button"
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>