summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-06 14:10:54 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-06 14:10:54 -0400
commitc5f779844c5d4a9bc5c5ad72074a28ba5b75c75a (patch)
treeac4c85bb22c71453350433882e083b3e651aeceb
parenta3716ceb4e1dbbb793819a8c6d2ed57475c59eb7 (diff)
Add text labels to the buttons in the IME
-rw-r--r--res/layout/ime.xml3
-rw-r--r--res/values/strings.xml5
2 files changed, 8 insertions, 0 deletions
diff --git a/res/layout/ime.xml b/res/layout/ime.xml
index 26f5ed1..fc9e80d 100644
--- a/res/layout/ime.xml
+++ b/res/layout/ime.xml
@@ -12,6 +12,7 @@
<Button
android:id="@+id/shift_btn"
+ android:text="@string/button_shift"
android:layout_width="85dp"
android:layout_height="85dp"
android:layout_marginBottom="10dp"
@@ -43,6 +44,7 @@
<Button
android:id="@+id/backspace_btn"
+ android:text="@string/button_backspace"
android:layout_width="85dp"
android:layout_height="85dp"
android:layout_marginBottom="5dp"
@@ -50,6 +52,7 @@
<Button
android:id="@+id/space_btn"
+ android:text="@string/button_space"
android:layout_width="85dp"
android:layout_height="85dp"
android:layout_marginBottom="10dp"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b3e2dd3..256a9b8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -36,4 +36,9 @@
<!-- Message, displayed when the sdcard cannot be found, 1st parameter is the name of the file that stores the gestures. CHAR LIMIT=80 -->
<string name="gestures_error_loading">Could not load %s. Make sure you have storage available.</string>
+ <!-- Temporary labels for buttons -->
+ <string name="button_shift">Shift</string>
+ <string name="button_backspace">Backspace</string>
+ <string name="button_space">Space</string>
+
</resources>