Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c82e258b authored by Dave Kover's avatar Dave Kover Committed by Gerrit Code Review
Browse files

SystemUI: Expose values for themes.

Allow theming of volume panel separately from status. Allow
status bar icons to be tinted. Expose battery meter base color.
Expose status bar header elevation value. Add themeable ripple
color for navigation button press.

Change-Id: Ie3dbde82692a19927ba6c1da179e5d2f03391f6f
parent e6d7fb43
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2015 The CyanogenMod 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.
 -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/system_primary_color" />
    <corners
        android:topLeftRadius="0dp"
        android:topRightRadius="0dp"
        android:bottomLeftRadius="@dimen/notification_material_rounded_rect_radius"
        android:bottomRightRadius="@dimen/notification_material_rounded_rect_radius"/>
</shape>
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2015 The CyanogenMod 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.
 -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/system_secondary_color" />
    <corners
        android:topLeftRadius="0dp"
        android:topRightRadius="0dp"
        android:bottomLeftRadius="@dimen/zen_mode_panel_radius"
        android:bottomRightRadius="@dimen/zen_mode_panel_radius"/>
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
    android:paddingStart="@dimen/notification_side_padding"
    android:paddingEnd="@dimen/notification_side_padding"
    android:baselineAligned="false"
    android:elevation="4dp"
    android:elevation="@dimen/status_bar_expanded_header_elevation"
    android:background="@drawable/notification_header_bg"
    android:clickable="true"
    android:focusable="true"
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
    android:id="@+id/volume_dialog_bg_container"
    android:layout_marginLeft="@dimen/notification_side_padding"
    android:layout_marginRight="@dimen/notification_side_padding"
    android:background="@drawable/qs_background_primary"
    android:background="@drawable/volume_dialog_background"
    android:translationZ="@dimen/volume_panel_z"
    android:layout_marginBottom="@dimen/volume_panel_z">

+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
        android:id="@+id/slider_panel"
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:background="@color/system_secondary_color"
        android:background="@color/volume_panel_background_color"
        android:paddingTop="8dp"
        android:paddingLeft="8dp"
        android:paddingRight="8dp"
Loading