Merge "Media: tweak the height for split shade to match spec" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-03-08 18:52:33 +00:00
committed by Android (Google) Code Review
3 changed files with 5 additions and 1 deletions

View File

@@ -139,7 +139,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/qs_media_padding" android:layout_marginEnd="@dimen/qs_media_padding"
app:layout_constrainedWidth="true" app:layout_constrainedWidth="true"
android:layout_marginTop="1dp" android:layout_marginTop="0dp"
app:layout_constraintTop_toBottomOf="@id/header_title" app:layout_constraintTop_toBottomOf="@id/header_title"
app:layout_constraintStart_toStartOf="@id/header_title" app:layout_constraintStart_toStartOf="@id/header_title"
app:layout_constraintEnd_toStartOf="@id/actionPlayPause" app:layout_constraintEnd_toStartOf="@id/actionPlayPause"

View File

@@ -22,6 +22,8 @@
<dimen name="ambient_indication_margin_bottom">115dp</dimen> <dimen name="ambient_indication_margin_bottom">115dp</dimen>
<dimen name="lock_icon_margin_bottom">60dp</dimen> <dimen name="lock_icon_margin_bottom">60dp</dimen>
<dimen name="qs_media_session_height_expanded">172dp</dimen>
<!-- margin from keyguard status bar to clock. For split shade it should be <!-- margin from keyguard status bar to clock. For split shade it should be
keyguard_split_shade_top_margin - status_bar_header_height_keyguard = 8dp --> keyguard_split_shade_top_margin - status_bar_header_height_keyguard = 8dp -->
<dimen name="keyguard_clock_top_margin">8dp</dimen> <dimen name="keyguard_clock_top_margin">8dp</dimen>

View File

@@ -24,4 +24,6 @@
<dimen name="keyguard_split_shade_top_margin">72dp</dimen> <dimen name="keyguard_split_shade_top_margin">72dp</dimen>
<dimen name="split_shade_header_height">56dp</dimen> <dimen name="split_shade_header_height">56dp</dimen>
<dimen name="qs_media_session_height_expanded">184dp</dimen>
</resources> </resources>