Files
exalted_dice/Published/ExaltedDice/res/layout/main.xml
ricky barrette a6dc0e9082 Exalted Dice Change Log
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5

0.0.6 V6
-remodeled onClickListeners
-remodeled onLongClickListeners

0.0.7 V7
-Got Listview working with 10 item history
-removed old onClickListener methods
-removed old onLongClickListeners
-ads working with internet permisions
-Menu with exit option

0.0.8 v8
-cleaned code for efficency
-Fixed error checking method to check for a string containing no ints.
-Fixed shake listener problem
-First release version, full, and ad free
-due to a G Market problem, package name switched from  com.TwentyCodes.android.ExaltedDice to com.TwentyCode.android.ExaltedDice


0.0.9 V9
-compiled under 1.5
-updated ads
-added System.gc();
-added stringbuffer to checkForErrors() and results()
-added a dynamic rollHistory list array
-added clear history menu option

0.0.10
-added rotaion methods
-reformated the output string
-added crash report
-added roll again feature

1.0.0
i created NumberPickerButton.java. it is completely based on NumberPickerButton.java from the android source. it exist purely to cancel long clicks.

ExaltedDice.java
i have removed my old privative methods for incrementing / decrementing the dice and replaced it with the method from NumberPicker.java from the android source.
i also removed all unused methods 


i incremented the version / build number from 0.0.10b10 to 1.0.0b11
2010-09-21 13:59:48 +00:00

60 lines
1.7 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal">
<com.TwentyCode.android.ExaltedDice.NumberPickerButton android:id="@+id/down"
android:layout_width="60px"
android:layout_height="wrap_content"
android:text="-"
/>
<EditText
android:id="@+id/dice"
android:layout_width="100px"
android:layout_height="wrap_content"
android:text="1"
android:textSize="18sp"
android:gravity="left"
android:phoneNumber="true"
/>
<com.TwentyCode.android.ExaltedDice.NumberPickerButton
android:id="@+id/up"
android:layout_width="60px"
android:layout_height="wrap_content"
android:text="+"
/>
<Button
android:id="@+id/roll"
android:layout_width="100px"
android:layout_height="wrap_content"
android:text="Roll"
/>
</LinearLayout>
<ListView android:id="@+id/list"
android:layout_gravity="top"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<com.admob.android.ads.AdView
android:id="@+id/ad"
android:layout_gravity="bottom"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
myapp:backgroundColor="#000000"
myapp:primaryTextColor="#FFFFFF"
myapp:secondaryTextColor="#CCCCCC"/>
</LinearLayout>