Fix media jumping horizontally on lockscreen when expanding split-shade
The issue was caused by the horizontal bounds being different on lockscreen and expanded shade. This fix is to adjust the horizontal paddings. Fixes: 234129285 Test: Manually Change-Id: I392c027abdb4040e2c458703eca04581cdcaf523
This commit is contained in:
committed by
Christian Göllner
parent
d95834c214
commit
29d57025ac
@@ -47,6 +47,8 @@
|
||||
|
||||
<dimen name="lockscreen_shade_max_over_scroll_amount">32dp</dimen>
|
||||
|
||||
<dimen name="status_view_margin_horizontal">8dp</dimen>
|
||||
|
||||
<!-- Distance that the full shade transition takes in order to complete by tapping on a button
|
||||
like "expand". -->
|
||||
<dimen name="lockscreen_shade_transition_by_tap_distance">200dp</dimen>
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
|
||||
<dimen name="status_bar_header_height_keyguard">56dp</dimen>
|
||||
|
||||
<dimen name="status_view_margin_horizontal">24dp</dimen>
|
||||
|
||||
<dimen name="qs_media_session_height_expanded">251dp</dimen>
|
||||
<dimen name="qs_content_horizontal_padding">40dp</dimen>
|
||||
<dimen name="qs_horizontal_margin">40dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user