diff options
author | Cheng-Ru Lin <owenlin@google.com> | 2009-09-26 04:29:10 +0800 |
---|---|---|
committer | Cheng-Ru Lin <owenlin@google.com> | 2009-09-26 04:29:10 +0800 |
commit | dabf14a464f9a2bfe330c3b640c7111c5f79ec32 (patch) | |
tree | 54580a0a60016b21025c74cf84f4cb1c03accdd7 /res/layout | |
parent | eed31960dc34b39f6e6facb3b8079f619af9a4c2 (diff) | |
download | LegacyCamera-dabf14a464f9a2bfe330c3b640c7111c5f79ec32.zip LegacyCamera-dabf14a464f9a2bfe330c3b640c7111c5f79ec32.tar.gz LegacyCamera-dabf14a464f9a2bfe330c3b640c7111c5f79ec32.tar.bz2 |
Change the close behavior of on screen menu.
1. Click on back/menu will close the whole setting panel
2. Touch on anywhere outside the panel will also close the settings.
3. Remove the "Back" item in second level menu.
Change-Id: I015a0264b50f8abb29db1c4c5adfef07987630f1
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/on_screen_submenu_cancel.xml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/res/layout/on_screen_submenu_cancel.xml b/res/layout/on_screen_submenu_cancel.xml deleted file mode 100644 index 9bcf8a3..0000000 --- a/res/layout/on_screen_submenu_cancel.xml +++ /dev/null @@ -1,29 +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. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:paddingLeft="5dp" - android:paddingRight="5dp" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center"> - <TextView android:id="@+id/cancel" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="5dp" - android:layout_marginBottom="5dp" - android:textAppearance="?android:attr/textAppearanceLarge" - android:text="@string/on_screen_menu_back" /> -</LinearLayout> |