summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2012-03-16 18:49:50 +0100
committerDavid A. Madore <david+git@madore.org>2012-03-16 18:49:50 +0100
commit3141ca4e4f232a4efae252fcdb15cc8f84e72fed (patch)
tree52ce28ba7f71dce32e0b571a83ed40cbf04b5126 /res
parentec3d53a4066b57cc47b2c0c4880e7566410d20a5 (diff)
downloadUnicodeMap-3141ca4e4f232a4efae252fcdb15cc8f84e72fed.tar.gz
UnicodeMap-3141ca4e4f232a4efae252fcdb15cc8f84e72fed.tar.bz2
UnicodeMap-3141ca4e4f232a4efae252fcdb15cc8f84e72fed.zip
Add copy and append buttons to character popup.
Diffstat (limited to 'res')
-rw-r--r--res/layout/char_details.xml15
-rw-r--r--res/values/strings.xml1
2 files changed, 16 insertions, 0 deletions
diff --git a/res/layout/char_details.xml b/res/layout/char_details.xml
index 8d99be4..b51ec87 100644
--- a/res/layout/char_details.xml
+++ b/res/layout/char_details.xml
@@ -21,4 +21,19 @@
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="#ff004000" />
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <Button android:id="@+id/copyCharButton"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/copy_button" />
+ <Button android:id="@+id/appendCharButton"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/append_button" />
+ </LinearLayout>
</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 89f82db..1111696 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5,6 +5,7 @@
<string name="loading_database_title">Initializing database</string>
<string name="loading_database_msg">Please wait</string>
<string name="copy_button">Copy</string>
+ <string name="append_button">Append</string>
<string name="copied_toast">Copied to clipboard</string>
<string name="empty_list">(Empty!)</string>
<string name="unihan_lookup">Unihan lookup</string>