Moved most Strings to xml
Change-Id: I7c460302d3efd1ffe4b1d7cb66789002bfa1ca33 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
xmlns:myapp="com.TwentyCode.android.ExaltedDice"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
@@ -25,7 +26,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/die_selector"
|
||||
android:layout_marginTop="10dip"
|
||||
android:text="Roll!" />
|
||||
android:text="@string/roll" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:layout_width="0px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="Roll!" />
|
||||
android:text="@string/roll" />
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
|
||||
16
ExaltedDice/res/values/dice.xml
Normal file
16
ExaltedDice/res/values/dice.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string-array name="dice_types">
|
||||
<item>D2</item>
|
||||
<item>D3</item>
|
||||
<item>D4</item>
|
||||
<item>D6</item>
|
||||
<item>D8</item>
|
||||
<item>D10</item>
|
||||
<item>D12</item>
|
||||
<item>D20</item>
|
||||
<item>D100</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -14,5 +14,13 @@
|
||||
<string name="email">twentycodes@gmail.com</string>
|
||||
<string name="email_about">Send an email with ideas or problems to help make this application even better! Good or bad we want to know what you think!</string>
|
||||
<string name="contact_us">Contact Us</string>
|
||||
<string name="roll">Roll!</string>
|
||||
<string name="clear_history">Clear Roll History</string>
|
||||
<string name="settings">Settings</string>
|
||||
<string name="quit">Quit</string>
|
||||
<string name="do_you_want_to_quit">Are you sure you want to quit?</string>
|
||||
<string name="total">Total: </string>
|
||||
<string name="sucesses">\nSuccesses: </string>
|
||||
<string name="rolls">\nRolls: </string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user