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>
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" >
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="horizontal" >
|
||||||
<NumberPicker
|
|
||||||
android:id="@+id/d_Picker"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_marginLeft="100dip" />
|
|
||||||
|
|
||||||
<NumberPicker
|
<NumberPicker
|
||||||
android:id="@+id/number_Picker"
|
android:id="@+id/number_Picker"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_marginRight="20dip" />
|
||||||
android:layout_toRightOf="@+id/textView2" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
<NumberPicker
|
||||||
|
android:id="@+id/d_Picker"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
@@ -5,27 +5,41 @@
|
|||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<include
|
<LinearLayout
|
||||||
android:id="@+id/die_selector"
|
android:id="@+id/holder"
|
||||||
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_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/die_selector"
|
android:layout_alignParentTop="true"
|
||||||
android:text="Roll!" />
|
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
|
<ListView
|
||||||
android:id="@+id/list"
|
android:id="@+id/list"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_above="@+id/ad"
|
android:layout_above="@+id/ad"
|
||||||
android:layout_below="@id/roll_button"
|
android:layout_below="@id/holder"
|
||||||
android:layout_gravity="top" />
|
android:layout_gravity="top" />
|
||||||
|
|
||||||
<com.admob.android.ads.AdView
|
<com.admob.android.ads.AdView
|
||||||
|
|||||||
Reference in New Issue
Block a user