Media: tweak the height for split shade to match spec

- On sw620dp-land it should be 172dp
- On sw720dp-land it should be 280dp, but for now leaving it as it was.

Bug: 221823467
Test: Manually
Change-Id: Ifea6cb5cfde8d4d6802670bf54cffdea12d743f4
This commit is contained in:
Christian Göllner
2022-03-08 11:06:23 +01:00
parent 1024b0743f
commit c3bd487bb0
3 changed files with 5 additions and 1 deletions

View File

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

View File

@@ -22,6 +22,8 @@
<dimen name="ambient_indication_margin_bottom">115dp</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
keyguard_split_shade_top_margin - status_bar_header_height_keyguard = 8dp -->
<dimen name="keyguard_clock_top_margin">8dp</dimen>

View File

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