Vertically center QS customizer heading.
Bug: 77326457 Test: manual Change-Id: I1938453184d0dea1a98374710e84604931fbf2ff
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
android:id="@android:id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/qs_tile_margin_top_bottom_negative"
|
||||
android:gravity="center"
|
||||
android:minHeight="28dp"
|
||||
android:minHeight="@dimen/qs_customize_header_min_height"
|
||||
android:textAppearance="@style/TextAppearance.QSEdit.Headers"
|
||||
android:textColor="?android:attr/colorAccent"
|
||||
android:text="@string/drag_to_rearrange_tiles" />
|
||||
@@ -352,6 +352,9 @@
|
||||
<dimen name="qs_tile_margin_horizontal">18dp</dimen>
|
||||
<dimen name="qs_tile_margin_vertical">24dp</dimen>
|
||||
<dimen name="qs_tile_margin_top_bottom">12dp</dimen>
|
||||
<dimen name="qs_tile_margin_top_bottom_negative">-12dp</dimen>
|
||||
<!-- The height of the qs customize header. Should be (28dp - qs_tile_margin_top_bottom). -->
|
||||
<dimen name="qs_customize_header_min_height">40dp</dimen>
|
||||
<dimen name="qs_tile_margin_top">18dp</dimen>
|
||||
<dimen name="qs_quick_tile_size">48dp</dimen>
|
||||
<!-- Maximum width of quick quick settings panel. Defaults to MATCH_PARENT-->
|
||||
|
||||
Reference in New Issue
Block a user