This commit is contained in:
2010-09-27 15:21:33 +00:00
parent 460f86aca3
commit b42783da2d
18 changed files with 1237 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:id="@+id/text1"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20px"/>

View File

@@ -0,0 +1,60 @@
<?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">
<Button 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"
/>
<Button
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>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="hello_msg"><item>Welcome to ExaltedDice!</item>
<item>Press the - button to lower your dice count by 1, or long press the - button to lower dice count by 10 </item><item>Press the + button to raise dice count by 1 of long press + to raise dice count by 10.</item><item>When you press Roll, Your Results Will Be Displayed Here</item>
</string-array>
</resources>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="com.admob.android.ads.AdView">
<attr name="backgroundColor" format="color" />
<attr name="primaryTextColor" format="color" />
<attr name="secondaryTextColor" format="color" />
<attr name="keywords" format="string" />
<attr name="refreshInterval" format="integer" />
</declare-styleable>
</resources>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Exalted Dice</string>
<string name="rolled">Rolled: </string>
<string name="email">twentycodes@gmail.com</string>
</resources>