Merge changes I6358cfe3,I00b20bd7 into pi-dev
* changes: Fix status icon tint in QQS. Fix QQS side padding for icons and tiles.
This commit is contained in:
committed by
Android (Google) Code Review
commit
ef85bbfe4d
@@ -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/signal_cluster_battery_padding" >
|
||||
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
|
||||
|
||||
@@ -18,5 +18,5 @@
|
||||
<resources>
|
||||
<dimen name="nav_content_padding">8dp</dimen>
|
||||
<dimen name="rounded_corner_content_padding">8dp</dimen>
|
||||
<dimen name="qs_header_tile_margin_horizontal">5dp</dimen>
|
||||
<dimen name="qs_header_tile_margin_horizontal">13dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -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