diff options
author | Ben Murdoch <benm@google.com> | 2011-06-16 19:47:08 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-17 22:04:27 +0100 |
commit | 815752af4a61faac210150db4084944fa0f4af33 (patch) | |
tree | c498410c2c8b58f585dc87575678d705526ce8b4 /res/menu | |
parent | f43990eed0a2b97f181c44fd03271f1844a8d133 (diff) | |
download | packages_apps_browser-815752af4a61faac210150db4084944fa0f4af33.zip packages_apps_browser-815752af4a61faac210150db4084944fa0f4af33.tar.gz packages_apps_browser-815752af4a61faac210150db4084944fa0f4af33.tar.bz2 |
Fix up AutoFill profile editor UI in portrait mode
Create layout-port version of the autofill profile editor that extends
vertically rather than horizontally.
In both portrait and landscape, make the "Save profile" button
always visible, remove the "cancel" button as there are already several
ways to leave the activity without saving changes and move the "Delete
profile" button to the options menu.
Change-Id: I3b03c998bc8cb005f066733a3b6979a03396f31f
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/autofill_profile_editor.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/menu/autofill_profile_editor.xml b/res/menu/autofill_profile_editor.xml new file mode 100644 index 0000000..4e746e5 --- /dev/null +++ b/res/menu/autofill_profile_editor.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/autofill_profile_editor_delete_profile_menu_id" + android:title="@string/autofill_profile_editor_delete_profile" + android:icon="@android:drawable/ic_menu_delete" + android:showAsAction="ifRoom|withText" /> +</menu> |