diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/char_details.xml | 25 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 24 insertions, 5 deletions
diff --git a/res/layout/char_details.xml b/res/layout/char_details.xml index c271da0..20800c3 100644 --- a/res/layout/char_details.xml +++ b/res/layout/char_details.xml @@ -3,6 +3,7 @@ android:id="@+id/detailsLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:minWidth="256dp" android:padding="10dp" android:orientation="vertical" android:background="#f0e0e0e0"> @@ -16,6 +17,11 @@ android:layout_height="wrap_content" android:textSize="16sp" android:textColor="#ff404040" /> + <TextView android:id="@+id/rangeLabel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="16sp" + android:textColor="#ff400000" /> <TextView android:id="@+id/categoryLabel" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -29,15 +35,26 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" - android:text="@string/copy_button" /> + android:text="@string/copy_char_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" /> + android:text="@string/append_char_button" /> </LinearLayout> - <Button android:id="@+id/copyNameButton" + <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" - android:text="@string/copy_name_button" /> + android:orientation="horizontal"> + <Button android:id="@+id/copyCodeButton" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/copy_code_button" /> + <Button android:id="@+id/copyNameButton" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/copy_name_button" /> + </LinearLayout> </LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index 964ea95..79407af 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5,8 +5,10 @@ <string name="loading_database_title">Initializing database</string> <string name="loading_database_msg">Please do not interrupt</string> <string name="copy_button">Copy</string> + <string name="copy_char_button">Copy char</string> + <string name="append_char_button">Append char</string> + <string name="copy_code_button">Copy number</string> <string name="copy_name_button">Copy name</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> |