Files
exalted_dice/ExaltedDice/res/layout/main.xml
Ricky Barrette 6502542853 Updated UI
Moved roll button in port layout to increase the size of the history
list view

Change-Id: Iff9360f6bf667d7bf59582ec2a725a788e4b9955
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-02-06 10:24:14 -05:00

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="1" >
<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="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>