removed hardcoded string per lint recomendations in list.xml

This commit is contained in:
2011-12-31 20:57:05 +00:00
parent 8652db11ab
commit b2d89ba22f
4 changed files with 8 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ public final class R {
public static final class string { public static final class string {
public static int crash=0x7f030000; public static int crash=0x7f030000;
public static int description=0x7f030004; public static int description=0x7f030004;
public static int no_reports=0x7f030006;
public static int send=0x7f030003; public static int send=0x7f030003;
public static int sending=0x7f030002; public static int sending=0x7f030002;
public static int sorry=0x7f030001; public static int sorry=0x7f030001;

View File

@@ -14,7 +14,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="No Reports" android:text="@string/no_reports"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#99CC00" /> android:textColor="#99CC00" />

View File

@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="crash">Application Fault</string>
<string name="crash">Application Fault</string>
<string name="sorry">I\'m sorry, but we found a problem. Please click here.</string> <string name="sorry">I\'m sorry, but we found a problem. Please click here.</string>
<string name="sending">Sending...</string> <string name="sending">Sending</string>
<string name="send">Send</string> <string name="send">Send</string>
<string name="description">Optional: Describe what happened</string> <string name="description">Optional: Describe what happened</string>
<string name="version">Version</string> <string name="version">Version</string>
<string name="no_reports">No Reports</string>
</resources> </resources>