summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2010-04-27 02:13:49 +0200
committerDavid A. Madore <david+git@madore.org>2010-04-27 02:24:17 +0200
commit221e994358da9d5e18fe490a19389093dfe4e755 (patch)
treea386603af4a5cf4ee501c4456d653560b8965058 /res/layout
parente37377a5d3ca4c78c440b097af4186cbbd81a6a0 (diff)
downloadUnicodeMap-221e994358da9d5e18fe490a19389093dfe4e755.tar.gz
UnicodeMap-221e994358da9d5e18fe490a19389093dfe4e755.tar.bz2
UnicodeMap-221e994358da9d5e18fe490a19389093dfe4e755.zip
Implement a search mechanism.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/main_layout.xml2
-rw-r--r--res/layout/search_dialog.xml24
2 files changed, 25 insertions, 1 deletions
diff --git a/res/layout/main_layout.xml b/res/layout/main_layout.xml
index 571a2dc..89480d7 100644
--- a/res/layout/main_layout.xml
+++ b/res/layout/main_layout.xml
@@ -21,7 +21,7 @@
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1" />
- <Button android:id="@+id/button"
+ <Button android:id="@+id/copyButton"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="@string/copy_button" />
diff --git a/res/layout/search_dialog.xml b/res/layout/search_dialog.xml
new file mode 100644
index 0000000..7c7be92
--- /dev/null
+++ b/res/layout/search_dialog.xml
@@ -0,0 +1,24 @@
+<?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/searchTerm"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+ <Button android:id="@+id/searchButton"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:text="@string/search_button" />
+ </LinearLayout>
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/search_hint" />
+</LinearLayout>