Align Slice Row title icon with Panel icon in output switcher panel

-Icon size changes and padding needs to be updated
-Apply padding to output switcher panel
-Remove padding from generic slider panel

Bug: 159179348
Test: manual test
Change-Id: I063926f4b22f6aaa1187b78efa570009fe02d5c4
This commit is contained in:
Tim Peng
2020-06-17 11:55:25 +08:00
parent 5bd41e573b
commit 7084631b4b

View File

@@ -564,9 +564,6 @@
</style>
<style name="SliceRow.Slider">
<!-- 4dp start padding for the start icon -->
<item name="titleItemStartPadding">4dp</item>
<!-- Padding between content and the start icon is 0dp -->
<item name="contentStartPadding">0dp</item>
<item name="contentEndPadding">36dp</item>
@@ -586,6 +583,8 @@
</style>
<style name="SliceRow.Slider.LargeIcon">
<!-- 10dp start padding for the start icon -->
<item name="titleItemStartPadding">10dp</item>
<!-- Layout is 48dp and actual icon size is 48-(iconSize/2) -->
<item name="iconSize">12dp</item>
</style>