Darken car status bar.

Darkens the car status bar header, footer, and user switcher.

Bug: 63593747
Tested on Mojave

Change-Id: I7e1973d75936739f16e43c278337dd9771499488
This commit is contained in:
Bryan Eyler
2017-08-30 10:13:20 -07:00
parent 2ff95846da
commit 55e1f0c9d9
3 changed files with 6 additions and 24 deletions

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android">
<shape>
<solid android:color="?android:attr/colorPrimaryDark"/>
</shape>
</inset>

View File

@@ -18,12 +18,13 @@
android:id="@+id/quick_settings_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/car_qs_background_primary"
android:background="@color/car_qs_background_primary"
android:orientation="vertical"
android:elevation="4dp">
android:elevation="4dp"
android:theme="@android:style/Theme">
<include layout="@layout/car_status_bar_header" />
<include layout="@layout/car_qs_footer" />
<include layout="@layout/car_status_bar_header"/>
<include layout="@layout/car_qs_footer"/>
<com.android.systemui.statusbar.car.UserGridView
android:id="@+id/user_grid"

View File

@@ -17,6 +17,7 @@
*/
-->
<resources>
<color name="car_qs_background_primary">#263238</color> <!-- Blue Gray 900 -->
<color name="car_user_switcher_progress_bgcolor">#00000000</color> <!-- Transparent -->
<color name="car_user_switcher_progress_fgcolor">#80CBC4</color> <!-- Teal 200 -->
<color name="car_user_switcher_no_user_image_bgcolor">#FAFAFA</color> <!-- Grey 50 -->