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

Commit 39254d46 authored by Evan Laird's avatar Evan Laird
Browse files

QS visual updates for P

- Black status bar area up top
- Gradient view behind QQS area
- Added stub view for system icon area
- Most things are parameterized for qs_header_system_icons_area_height,
so this can be moved and overlaid for devices with a notch

Test: visual
Bug: 70799006
Bug: 63772836
Change-Id: Iee3a975f50d572084de370d1b183a37f5e8e9e1a
parent 058c8aee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,6 +15,6 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:alpha="0.87"
    <item android:alpha="1"
          android:color="?android:attr/colorBackgroundFloating"/>
</selector>
+24 −0
Original line number Diff line number Diff line
<?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.
-->
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <gradient
        android:angle="270"
        android:startColor="#ff000000"
        android:endColor="#00000000"
        android:type="linear" />
</shape>
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:elevation="4dp"
    android:orientation="vertical"
    android:background="@drawable/qs_customizer_background"
    android:gravity="center_horizontal">
+2 −1
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@
    android:clickable="true"
    android:orientation="vertical"
    android:paddingBottom="8dp"
    android:visibility="invisible">
    android:visibility="invisible"
    android:elevation="4dp" >

    <include
        android:id="@+id/qs_detail_header"
+1 −11
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
    android:id="@+id/qs_footer"
    android:layout_width="match_parent"
    android:layout_height="48dp"
    android:elevation="4dp"
    android:baselineAligned="false"
    android:clickable="false"
    android:clipChildren="false"
@@ -105,17 +106,6 @@
                android:visibility="invisible"/>

        </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>

        <com.android.systemui.statusbar.phone.ExpandableIndicator
            android:id="@+id/expand_indicator"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:clipToPadding="false"
            android:clickable="true"
            android:focusable="true"
            android:background="?android:attr/selectableItemBackgroundBorderless"
            android:contentDescription="@string/accessibility_quick_settings_expand"
            android:padding="14dp" />
    </LinearLayout>

</com.android.systemui.qs.QSFooterImpl>
Loading