Skip to content

Commit 2760fc2

Browse files
ArianK16aluca020400
authored andcommitted
VolumeDialog: Don't change the background of the expandable indicator
* Add a divider between the rows the expandable indicator instead Change-Id: I912e007c895935c7b16bb605503486396546c90c
1 parent 04946cf commit 2760fc2

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

packages/SystemUI/res/layout-land/volume_dialog.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,14 @@
8787
android:paddingLeft="@dimen/volume_dialog_stream_padding">
8888
<!-- volume rows added and removed here! :-) -->
8989
</LinearLayout>
90+
<View
91+
android:layout_width="match_parent"
92+
android:layout_height="1dp"
93+
android:background="?android:attr/listDivider"/>
9094
<LinearLayout
9195
android:layout_width="match_parent"
9296
android:layout_height="wrap_content"
93-
android:orientation="horizontal"
94-
android:background="@drawable/rounded_bg_bottom_background" >
97+
android:orientation="horizontal" >
9598
<FrameLayout
9699
android:id="@+id/expandable_indicator_container"
97100
android:layout_width="wrap_content"
@@ -105,7 +108,7 @@
105108
android:layout_marginLeft="8dp"
106109
android:contentDescription="@string/accessibility_volume_expand"
107110
android:background="@drawable/ripple_drawable_20dp"
108-
android:tint="?android:attr/textColorSecondary"
111+
android:tint="@color/accent_tint_color_selector"
109112
android:soundEffectsEnabled="false"
110113
android:padding="14dp" />
111114
</FrameLayout>
@@ -122,7 +125,7 @@
122125
android:layout_marginLeft="8dp"
123126
android:contentDescription="@string/accessibility_volume_settings"
124127
android:background="@drawable/ripple_drawable_20dp"
125-
android:tint="?android:attr/textColorSecondary"
128+
android:tint="@color/accent_tint_color_selector"
126129
android:soundEffectsEnabled="false" />
127130
</FrameLayout>
128131
</LinearLayout>

packages/SystemUI/res/layout/volume_dialog.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,14 @@
8888
android:paddingLeft="@dimen/volume_dialog_stream_padding">
8989
<!-- volume rows added and removed here! :-) -->
9090
</LinearLayout>
91+
<View
92+
android:layout_width="match_parent"
93+
android:layout_height="1dp"
94+
android:background="?android:attr/listDivider"/>
9195
<LinearLayout
9296
android:layout_width="match_parent"
9397
android:layout_height="wrap_content"
94-
android:orientation="horizontal"
95-
android:background="@drawable/rounded_bg_bottom_background" >
98+
android:orientation="horizontal" >
9699
<FrameLayout
97100
android:id="@+id/expandable_indicator_container"
98101
android:layout_width="wrap_content"
@@ -106,7 +109,7 @@
106109
android:layout_marginLeft="8dp"
107110
android:contentDescription="@string/accessibility_volume_expand"
108111
android:background="@drawable/ripple_drawable_20dp"
109-
android:tint="?android:attr/textColorSecondary"
112+
android:tint="@color/accent_tint_color_selector"
110113
android:soundEffectsEnabled="false"
111114
android:padding="14dp" />
112115
</FrameLayout>
@@ -123,7 +126,7 @@
123126
android:layout_marginLeft="8dp"
124127
android:contentDescription="@string/accessibility_volume_settings"
125128
android:background="@drawable/ripple_drawable_20dp"
126-
android:tint="?android:attr/textColorSecondary"
129+
android:tint="@color/accent_tint_color_selector"
127130
android:soundEffectsEnabled="false" />
128131
</FrameLayout>
129132
</LinearLayout>

0 commit comments

Comments
 (0)