Update home controls padding.
With smartspace being center aligned, home controls needs to update paddings to center align with smartspace. Test: https://screenshot.googleplex.com/ArmhXQKh3iixMge Bug: 257553229 Change-Id: I1fceca6e9e9283251b33f9b9e6aedb76819d56b5
This commit is contained in:
@@ -1484,7 +1484,7 @@
|
||||
|
||||
<!-- Dream overlay complications related dimensions -->
|
||||
<dimen name="dream_overlay_complication_clock_time_text_size">86sp</dimen>
|
||||
<dimen name="dream_overlay_complication_clock_time_padding">20dp</dimen>
|
||||
<dimen name="dream_overlay_complication_home_controls_padding">28dp</dimen>
|
||||
<dimen name="dream_overlay_complication_clock_subtitle_text_size">24sp</dimen>
|
||||
<dimen name="dream_overlay_complication_preview_text_size">36sp</dimen>
|
||||
<dimen name="dream_overlay_complication_preview_icon_padding">28dp</dimen>
|
||||
|
||||
@@ -81,7 +81,8 @@ public interface RegisteredComplicationsModule {
|
||||
ComplicationLayoutParams.DIRECTION_UP,
|
||||
DREAM_HOME_CONTROLS_CHIP_COMPLICATION_WEIGHT,
|
||||
// Add margin to the bottom of home controls to horizontally align with smartspace.
|
||||
res.getDimensionPixelSize(R.dimen.dream_overlay_complication_clock_time_padding));
|
||||
res.getDimensionPixelSize(
|
||||
R.dimen.dream_overlay_complication_home_controls_padding));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user