diff options
author | Ben Murdoch <benm@google.com> | 2011-01-17 12:54:24 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-01-17 13:05:24 +0000 |
commit | 1d676b6d3080ea2e8206e2a601be8390f1bbd0ed (patch) | |
tree | 4874b05ac8f046bd87739afca4ed0ca9ce26cd04 /res/layout | |
parent | d9844abe83b9eb6340ce646357c3e91ac794eb46 (diff) | |
download | packages_apps_Browser-1d676b6d3080ea2e8206e2a601be8390f1bbd0ed.zip packages_apps_Browser-1d676b6d3080ea2e8206e2a601be8390f1bbd0ed.tar.gz packages_apps_Browser-1d676b6d3080ea2e8206e2a601be8390f1bbd0ed.tar.bz2 |
Add a "disable autofill" checkbox to the setup prompt
Make the intent of the buttons in the setup autofill dialog
clearer by adding an option to disable the feature. The cancel
button now simply dismisses the dialog and we only disable the
feature if the user checks the new box and clicks OK. Clicking OK
without checking the box takes the user to the prdoile editor as
before.
Bug:3348828
Change-Id: Ib54b879b6953d0c8865d50374188059a43a8e6ba
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/setup_autofill_dialog.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/res/layout/setup_autofill_dialog.xml b/res/layout/setup_autofill_dialog.xml new file mode 100644 index 0000000..084ae7a --- /dev/null +++ b/res/layout/setup_autofill_dialog.xml @@ -0,0 +1,37 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingTop="20dip" > + + <TextView + android:text="@string/autofill_setup_dialog_message" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingBottom="5dip" /> + + <CheckBox android:id="@+id/setup_autofill_dialog_disable_autofill" + android:text="@string/disable_autofill" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_gravity="left" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + +</LinearLayout> |