diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/main_layout.xml | 2 | ||||
-rw-r--r-- | res/layout/search_dialog.xml | 24 |
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> |