summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/decode_dialog.xml25
-rw-r--r--res/menu/options_menu.xml2
-rw-r--r--res/values/strings.xml5
3 files changed, 32 insertions, 0 deletions
diff --git a/res/layout/decode_dialog.xml b/res/layout/decode_dialog.xml
new file mode 100644
index 0000000..0cb1f20
--- /dev/null
+++ b/res/layout/decode_dialog.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ 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">
+ <EditText android:id="@+id/decodeString"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:maxLength="1000" />
+ <Button android:id="@+id/decodeButton"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:text="@string/decode_button" />
+ </LinearLayout>
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/decode_hint" />
+</LinearLayout>
diff --git a/res/menu/options_menu.xml b/res/menu/options_menu.xml
index d101b1f..34671d0 100644
--- a/res/menu/options_menu.xml
+++ b/res/menu/options_menu.xml
@@ -4,6 +4,8 @@
android:title="@string/menu_go" />
<item android:id="@+id/menuSearch"
android:title="@string/menu_search" />
+ <item android:id="@+id/menuDecode"
+ android:title="@string/menu_decode" />
<item android:id="@+id/menuAbout"
android:title="@string/menu_about" />
</menu>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6efe70c..9dd3d63 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -22,6 +22,11 @@
be searched</string>
<string name="search_results">search results</string>
<string name="list_too_long">Only %d first results shown</string>
+ <string name="menu_decode">Decode</string>
+ <string name="decode_title">Decode string</string>
+ <string name="decode_button">Decode</string>
+ <string name="decode_hint">Paste Unicode characters here to see
+ their names</string>
<string name="menu_about">About</string>
<string name="about_title">About Unicode Map</string>
<string name="about_text">Unicode Map version 0.0.2\nby David