Merge "change screen pinning settings UI"
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<ScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/instructions_area"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/screen_pinning_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:paddingTop="@dimen/screen_pinning_textview_padding"
|
||||
android:text="@string/screen_pinning_description"
|
||||
android:textAppearance="@style/TextAppearance.Medium"
|
||||
android:paddingStart="@dimen/screen_pinning_padding_start"
|
||||
android:paddingEnd="@dimen/screen_pinning_padding_end"
|
||||
/>
|
||||
|
||||
</ScrollView>
|
@@ -158,9 +158,6 @@
|
||||
<!-- CryptKeeper pattern size for tablet -->
|
||||
<dimen name="crypt_keeper_pattern_size">354dip</dimen>
|
||||
|
||||
<!-- Screen pinning textview paddings -->
|
||||
<dimen name="screen_pinning_textview_padding">40dp</dimen>
|
||||
|
||||
<!-- SIM Dialog Margin top -->
|
||||
<dimen name="sim_dialog_margin_top">8dip</dimen>
|
||||
<!-- SIM Dialog Margin bottom -->
|
||||
@@ -329,10 +326,6 @@
|
||||
<dimen name="reset_master_clear_margin_start">32dp</dimen>
|
||||
<dimen name="reset_master_clear_margin_end">12dp</dimen>
|
||||
|
||||
<!-- Padding for screen pinning -->
|
||||
<dimen name="screen_pinning_padding_start">64dp</dimen>
|
||||
<dimen name="screen_pinning_padding_end">64dp</dimen>
|
||||
|
||||
<!-- Padding for the reset screens -->
|
||||
<dimen name="reset_checkbox_padding_end">8dp</dimen>
|
||||
<dimen name="reset_checkbox_title_padding_top">12dp</dimen>
|
||||
|
@@ -16,6 +16,7 @@
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:key="screen_pinning_settings_screen"
|
||||
android:title="@string/screen_pinning_title">
|
||||
|
||||
@@ -23,4 +24,10 @@
|
||||
android:key="use_screen_lock"
|
||||
android:title="@string/screen_pinning_unlock_none" />
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="screen_pinning_settings_screen_footer"
|
||||
android:title="@string/screen_pinning_description"
|
||||
android:selectable="false"
|
||||
settings:searchable="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
Reference in New Issue
Block a user