Update the padding of MainSwitch layout and the MainSwitch's

TextView margin to meet the spec.

Fix: 208153566
Test: manual test and see the UI
Change-Id: I5c1a1e1bc51f21734d9cf6f4b318a7b2fad5e10d
This commit is contained in:
Stanley Wang
2021-12-06 14:53:34 +08:00
parent f1ecb2678c
commit a6432c0072
2 changed files with 3 additions and 3 deletions

View File

@@ -21,10 +21,10 @@
<dimen name="settingslib_switchbar_margin">16dp</dimen>
<!-- Size of layout margin left -->
<dimen name="settingslib_switchbar_padding_left">24dp</dimen>
<dimen name="settingslib_switchbar_padding_left">20dp</dimen>
<!-- Size of layout margin right -->
<dimen name="settingslib_switchbar_padding_right">16dp</dimen>
<dimen name="settingslib_switchbar_padding_right">20dp</dimen>
<!-- Minimum width of switch -->
<dimen name="settingslib_min_switch_width">52dp</dimen>

View File

@@ -24,7 +24,7 @@
<dimen name="settingslib_restricted_icon_margin_end">16dp</dimen>
<!-- Size of title margin -->
<dimen name="settingslib_switch_title_margin">16dp</dimen>
<dimen name="settingslib_switch_title_margin">24dp</dimen>
<!-- SwitchBar sub settings margin start / end -->
<dimen name="settingslib_switchbar_subsettings_margin_start">72dp</dimen>