diff options
author | Julia Reynolds <juliacr@google.com> | 2014-06-11 12:56:02 -0400 |
---|---|---|
committer | Julia Reynolds <juliacr@google.com> | 2014-06-13 13:10:44 -0400 |
commit | 2c53933e8d35ba50d0791a29e46fa3156e9cab7c (patch) | |
tree | 72961995d7a4cf30cb80fec223d876fb5d1d5a4c /res/layout | |
parent | 253b111a3dc95dd25421607410624a270289d2bf (diff) | |
download | packages_apps_Settings-2c53933e8d35ba50d0791a29e46fa3156e9cab7c.zip packages_apps_Settings-2c53933e8d35ba50d0791a29e46fa3156e9cab7c.tar.gz packages_apps_Settings-2c53933e8d35ba50d0791a29e46fa3156e9cab7c.tar.bz2 |
Use user restriction instead of pin to guard factory reset in Settings.
Bug: 14081992
Change-Id: I60f132312368c5097b46ab97e881eec3700ef586
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/master_clear_disallowed_screen.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/master_clear_disallowed_screen.xml b/res/layout/master_clear_disallowed_screen.xml new file mode 100644 index 0000000..80326ca --- /dev/null +++ b/res/layout/master_clear_disallowed_screen.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright (C) 2014 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. + */ +--> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/listContainer" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ListView android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:drawSelectorOnTop="false" + android:scrollbarStyle="insideOverlay" + android:background="@android:color/white" + android:cacheColorHint="@android:color/white" + android:fadingEdgeLength="16dip" /> + + <TextView android:id="@android:id/empty" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:text="@string/master_clear_not_available" + android:textAppearance="?android:attr/textAppearanceMedium" /> +</FrameLayout>
\ No newline at end of file |