Refine inputRange layout in output switcher
Bug: 154181365 Test: build pass Change-Id: Idee9042af6b19a358938752d2ee72bae07eb092a
This commit is contained in:
@@ -36,11 +36,11 @@
|
|||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="49dp"
|
android:layout_width="36dp"
|
||||||
android:layout_height="49dp"
|
android:layout_height="36dp"
|
||||||
android:gravity="center_vertical|center_horizontal"
|
android:gravity="center_vertical|center_horizontal"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_marginStart="10dp">
|
android:layout_marginStart="16dp">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/title_icon"
|
android:id="@+id/title_icon"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="25dp"
|
android:layout_marginStart="16dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="9dp"
|
android:paddingBottom="9dp"
|
||||||
|
@@ -25,6 +25,6 @@
|
|||||||
style="@style/SliceViewSliderStyle"
|
style="@style/SliceViewSliderStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="8dp"
|
android:paddingStart="0dp"
|
||||||
android:paddingEnd="8dp"/>
|
android:paddingEnd="0dp"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@@ -511,10 +511,28 @@
|
|||||||
<item name="android:background">?android:attr/colorBackgroundFloating</item>
|
<item name="android:background">?android:attr/colorBackgroundFloating</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="SliceRowSliderStyle" parent="SliceRowStyle">
|
<style name="SliceRowSliderStyle">
|
||||||
|
<!-- 2dp start padding for the start icon -->
|
||||||
|
<item name="titleItemStartPadding">10dp</item>
|
||||||
|
<item name="titleItemEndPadding">0dp</item>
|
||||||
|
|
||||||
|
<!-- Padding between content and the start icon is 14dp -->
|
||||||
|
<item name="contentStartPadding">5dp</item>
|
||||||
|
<!-- Padding between content and end items is 16dp -->
|
||||||
|
<item name="contentEndPadding">16dp</item>
|
||||||
|
|
||||||
|
<!-- Both side margins of end item are 16dp -->
|
||||||
|
<item name="endItemStartPadding">0dp</item>
|
||||||
|
<item name="endItemEndPadding">24dp</item>
|
||||||
|
|
||||||
|
<!-- Both side margins of bottom divider are 12dp -->
|
||||||
|
<item name="bottomDividerStartPadding">12dp</item>
|
||||||
|
<item name="bottomDividerEndPadding">12dp</item>
|
||||||
|
|
||||||
|
<item name="actionDividerHeight">32dp</item>
|
||||||
<!-- Align text with slider -->
|
<!-- Align text with slider -->
|
||||||
<item name="titleStartPadding">12dp</item>
|
<item name="titleStartPadding">6dp</item>
|
||||||
<item name="subContentStartPadding">12dp</item>
|
<item name="subContentStartPadding">6dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ContextualCardSliceViewStyle" parent="SliceViewStyle">
|
<style name="ContextualCardSliceViewStyle" parent="SliceViewStyle">
|
||||||
|
Reference in New Issue
Block a user