diff options
author | Cheng-Ru Lin <owenlin@google.com> | 2009-09-26 09:34:27 +0800 |
---|---|---|
committer | Cheng-Ru Lin <owenlin@google.com> | 2009-09-28 09:19:59 +0800 |
commit | 78e428b016fc63621752ce4150c2179364e92df1 (patch) | |
tree | 0e74447e80fc901a16292a9c34c255a6df70e370 /res/layout | |
parent | d02b313115e8f4c92a377955af62478765146fb1 (diff) | |
download | LegacyCamera-78e428b016fc63621752ce4150c2179364e92df1.zip LegacyCamera-78e428b016fc63621752ce4150c2179364e92df1.tar.gz LegacyCamera-78e428b016fc63621752ce4150c2179364e92df1.tar.bz2 |
Fix style issues in on-screen settings.
1. Make the item as high as 64dp.
2. Move the title of the second level menu to the left
3. Change 5M to 5M pixel
4. Enlarge the viewfinder and also review image
Change-Id: Iad0e05df168336ac6c80124d9b24e0e1acbfdf3e
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/on_screen_menu_list_item.xml | 3 | ||||
-rw-r--r-- | res/layout/on_screen_submenu_header.xml | 25 | ||||
-rw-r--r-- | res/layout/on_screen_submenu_item.xml | 3 |
3 files changed, 4 insertions, 27 deletions
diff --git a/res/layout/on_screen_menu_list_item.xml b/res/layout/on_screen_menu_list_item.xml index a458eb4..42816bf 100644 --- a/res/layout/on_screen_menu_list_item.xml +++ b/res/layout/on_screen_menu_list_item.xml @@ -17,9 +17,10 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" + android:gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeight" android:paddingLeft="10dp" android:paddingRight="5dp" > - <TextView android:id="@+id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" diff --git a/res/layout/on_screen_submenu_header.xml b/res/layout/on_screen_submenu_header.xml deleted file mode 100644 index 860f3ee..0000000 --- a/res/layout/on_screen_submenu_header.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<TextView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/title" - android:background="#88222222" - android:gravity="center" - android:layout_marginRight="5dp" - android:layout_marginLeft="5dp" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceSmall" - android:singleLine="true" /> diff --git a/res/layout/on_screen_submenu_item.xml b/res/layout/on_screen_submenu_item.xml index 636bfb2..8e0470e 100644 --- a/res/layout/on_screen_submenu_item.xml +++ b/res/layout/on_screen_submenu_item.xml @@ -14,10 +14,11 @@ limitations under the License. --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:paddingLeft="5dp" + android:paddingLeft="10dp" android:paddingRight="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="center_vertical" > <ImageView android:id="@+id/icon" android:visibility="gone" |