Merge "Pad indication text to prevent clipping on side of screen." into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b7098f9d9c
@@ -46,6 +46,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:paddingStart="@dimen/keyguard_indication_text_padding"
|
||||||
|
android:paddingEnd="@dimen/keyguard_indication_text_padding"
|
||||||
android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
|
android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
@@ -54,6 +56,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:paddingStart="@dimen/keyguard_indication_text_padding"
|
||||||
|
android:paddingEnd="@dimen/keyguard_indication_text_padding"
|
||||||
android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
|
android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
|
||||||
android:accessibilityLiveRegion="polite" />
|
android:accessibilityLiveRegion="polite" />
|
||||||
|
|
||||||
|
|||||||
@@ -183,6 +183,9 @@
|
|||||||
<!-- The padding on the bottom of the notifications on the keyguard -->
|
<!-- The padding on the bottom of the notifications on the keyguard -->
|
||||||
<dimen name="keyguard_indication_bottom_padding">12sp</dimen>
|
<dimen name="keyguard_indication_bottom_padding">12sp</dimen>
|
||||||
|
|
||||||
|
<!-- The padding at start and end of indication text shown on AOD -->
|
||||||
|
<dimen name="keyguard_indication_text_padding">16dp</dimen>
|
||||||
|
|
||||||
<!-- Shadows under the clock, date and other keyguard text fields -->
|
<!-- Shadows under the clock, date and other keyguard text fields -->
|
||||||
<dimen name="keyguard_shadow_radius">5</dimen>
|
<dimen name="keyguard_shadow_radius">5</dimen>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user