*** empty log message ***
This commit is contained in:
BIN
ExaltedDice/res/drawable/icon.png
Normal file
BIN
ExaltedDice/res/drawable/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
6
ExaltedDice/res/layout/list_row.xml
Executable file
6
ExaltedDice/res/layout/list_row.xml
Executable 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"/>
|
||||
60
ExaltedDice/res/layout/main.xml
Executable file
60
ExaltedDice/res/layout/main.xml
Executable 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>
|
||||
8
ExaltedDice/res/values/array.xml
Normal file
8
ExaltedDice/res/values/array.xml
Normal 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>
|
||||
10
ExaltedDice/res/values/attrs.xml
Normal file
10
ExaltedDice/res/values/attrs.xml
Normal 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>
|
||||
12
ExaltedDice/res/values/strings.xml
Executable file
12
ExaltedDice/res/values/strings.xml
Executable 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>
|
||||
Reference in New Issue
Block a user