Fix status icon tint in QQS.
- Update the right margin for these icons - Update the padding for the status bar and QQS status bar to match. Change-Id: I6358cfe35430d981d813f2cb21a942fa82211d40 Fixes: 77532713 Test: visual
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:layout_marginEnd="@dimen/notification_side_paddings"
|
||||
android:layout_below="@id/quick_status_bar_system_icons"
|
||||
android:paddingEnd="@dimen/qs_header_tile_margin_horizontal" >
|
||||
android:paddingEnd="@dimen/status_bar_padding_end" >
|
||||
|
||||
<com.android.systemui.statusbar.phone.StatusIconContainer
|
||||
android:id="@+id/statusIcons"
|
||||
|
||||
@@ -20,15 +20,16 @@
|
||||
android:id="@+id/quick_status_bar_system_icons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@*android:dimen/quick_qs_offset_height"
|
||||
android:layout_marginRight="@dimen/notification_side_paddings"
|
||||
android:layout_marginLeft="@dimen/notification_side_paddings"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:gravity="center"
|
||||
android:paddingStart="8dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:paddingStart="@dimen/status_bar_padding_start"
|
||||
android:paddingEnd="@dimen/status_bar_padding_end"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<com.android.systemui.statusbar.policy.Clock
|
||||
android:id="@+id/clock"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="@dimen/status_bar_padding_start"
|
||||
android:paddingEnd="8dp"
|
||||
android:paddingEnd="@dimen/status_bar_padding_end"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<ViewStub
|
||||
|
||||
@@ -185,6 +185,9 @@
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">6dp</dimen>
|
||||
|
||||
<!-- the padding on the end of the statusbar -->
|
||||
<dimen name="status_bar_padding_end">8dp</dimen>
|
||||
|
||||
<!-- the radius of the overflow dot in the status bar -->
|
||||
<dimen name="overflow_dot_radius">1dp</dimen>
|
||||
|
||||
|
||||
@@ -213,9 +213,9 @@ public class QuickStatusBarHeader extends RelativeLayout implements
|
||||
|
||||
private int fillColorForIntensity(float intensity, Context context) {
|
||||
if (intensity == 0) {
|
||||
return context.getColor(R.color.light_mode_icon_color_dual_tone_fill);
|
||||
return context.getColor(R.color.light_mode_icon_color_single_tone);
|
||||
}
|
||||
return context.getColor(R.color.dark_mode_icon_color_dual_tone_fill);
|
||||
return context.getColor(R.color.dark_mode_icon_color_single_tone);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user