summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2010-04-29 03:09:26 +0200
committerDavid A. Madore <david+git@madore.org>2010-04-29 03:09:26 +0200
commite57621493d1fa3cb1f9bd14b14e8012d7503e816 (patch)
tree79bfda5440636daadf8011f4f3101381240bf262 /res
parent5600a9b269803b546e64d7cefd74856d7966dd61 (diff)
downloadUnicodeMap-e57621493d1fa3cb1f9bd14b14e8012d7503e816.tar.gz
UnicodeMap-e57621493d1fa3cb1f9bd14b14e8012d7503e816.tar.bz2
UnicodeMap-e57621493d1fa3cb1f9bd14b14e8012d7503e816.zip
Add a "go" feature.
Diffstat (limited to 'res')
-rw-r--r--res/layout/go_dialog.xml28
-rw-r--r--res/menu/options_menu.xml2
-rw-r--r--res/values/strings.xml6
3 files changed, 36 insertions, 0 deletions
diff --git a/res/layout/go_dialog.xml b/res/layout/go_dialog.xml
new file mode 100644
index 0000000..1ee6319
--- /dev/null
+++ b/res/layout/go_dialog.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:padding="10dp"
+ android:orientation="vertical">
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="20sp"
+ android:text="U+" />
+ <EditText android:id="@+id/goForm"
+ android:layout_width="80sp"
+ android:layout_height="wrap_content" />
+ <Button android:id="@+id/goButton"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:text="@string/go_button" />
+ </LinearLayout>
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/go_hint" />
+</LinearLayout>
diff --git a/res/menu/options_menu.xml b/res/menu/options_menu.xml
index 2cb4eb9..d101b1f 100644
--- a/res/menu/options_menu.xml
+++ b/res/menu/options_menu.xml
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/menuGo"
+ android:title="@string/menu_go" />
<item android:id="@+id/menuSearch"
android:title="@string/menu_search" />
<item android:id="@+id/menuAbout"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6c90667..acdc3e0 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -7,6 +7,12 @@
<string name="copy_button">Copy</string>
<string name="copied_toast">Copied to clipboard</string>
<string name="empty_list">(Empty!)</string>
+ <string name="menu_go">Go</string>
+ <string name="go_title">Go to char number</string>
+ <string name="go_button">Go</string>
+ <string name="go_hint">Enter codepoint (hex)</string>
+ <string name="invalid_codepoint">Invalid codepoint</string>
+ <string name="no_character">No such character</string>
<string name="menu_search">Search</string>
<string name="search_title">Search in character names</string>
<string name="search_button">Search</string>