Ensure redaction settings are visible on narrow screens
Bug: 18599040 Change-Id: I852f8fa317927f6f786b33f965e9d1feab562518
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="@dimen/redaction_vertical_margins"
|
||||||
android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
|
android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
|
||||||
android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
|
android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||||
android:text="@string/lock_screen_notifications_interstitial_message"
|
android:text="@string/lock_screen_notifications_interstitial_message"
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="@dimen/redaction_vertical_margins"
|
||||||
android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
|
android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
|
||||||
android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
|
android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||||
android:checkedButton="@+id/redact_sensitive">
|
android:checkedButton="@+id/redact_sensitive">
|
||||||
@@ -44,21 +44,21 @@
|
|||||||
android:id="@+id/show_all"
|
android:id="@+id/show_all"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="@dimen/redaction_vertical_margins"
|
||||||
android:text="@string/lock_screen_notifications_summary_show" />
|
android:text="@string/lock_screen_notifications_summary_show" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/redact_sensitive"
|
android:id="@+id/redact_sensitive"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="@dimen/redaction_vertical_margins"
|
||||||
android:text="@string/lock_screen_notifications_summary_hide" />
|
android:text="@string/lock_screen_notifications_summary_hide" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/hide_all"
|
android:id="@+id/hide_all"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="@dimen/redaction_vertical_margins"
|
||||||
android:text="@string/lock_screen_notifications_summary_disable" />
|
android:text="@string/lock_screen_notifications_summary_disable" />
|
||||||
|
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|||||||
20
res/values-h330dp/dimens.xml
Normal file
20
res/values-h330dp/dimens.xml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2015 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<!-- RedactionInterstitial -->
|
||||||
|
<dimen name="redaction_vertical_margins">16dp</dimen>
|
||||||
|
</resources>
|
||||||
@@ -230,4 +230,7 @@
|
|||||||
<dimen name="color_swatch_size">16dp</dimen>
|
<dimen name="color_swatch_size">16dp</dimen>
|
||||||
<dimen name="color_swatch_stroke_width">4dp</dimen>
|
<dimen name="color_swatch_stroke_width">4dp</dimen>
|
||||||
|
|
||||||
|
<!-- RedactionInterstitial -->
|
||||||
|
<dimen name="redaction_vertical_margins">8dp</dimen>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user