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

Commit 8728d00e authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Notification guts redesign

Test: atest
Fixes: 130766408
Fixes: 129453207
Bug: 127992400
Fixes: 129507783
Fixes: 130342795
Fixes: 130805969

Change-Id: I93984698c5380badb162774c818a1d040ccf9c1c
parent ac8913be
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2019 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">
    <solid
        android:color="@color/notification_guts_selection_bg" />
    <stroke
        android:width="2dp"
        android:color="?android:attr/colorAccent"/>
    <corners android:radius="@dimen/rect_button_radius" />
</shape>
 No newline at end of file
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2019 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"
       android:color="@color/notification_guts_selection_bg">
    <stroke
        android:width="2dp"
        android:color="@color/GM2_grey_300"/>

    <corners android:radius="@dimen/rect_button_radius" />
</shape>
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2019 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.
  -->
<ripple
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:color="?android:attr/colorControlHighlight">
    <item android:id="@android:id/mask">
        <shape android:shape="rectangle">
            <solid android:color="@color/notification_guts_selection_bg" />
            <corners android:radius="@dimen/rect_button_radius" />
        </shape>
    </item>
</ripple>
 No newline at end of file
+5 −5
Original line number Diff line number Diff line
@@ -18,18 +18,18 @@ Copyright (C) 2019 The Android Open Source Project
        android:id="@+id/back">
        <shape android:shape="oval">
            <solid
                android:color="@color/GM2_green_500" />
                android:color="@color/notification_silence_color" />
            <size
                android:height="36dp"
                android:width="36dp"/>
                android:height="24dp"
                android:width="24dp"/>
        </shape>
    </item>
    <item
        android:id="@+id/fore"
        android:gravity="center">
        <vector
                android:width="32dp"
                android:height="32dp"
                android:width="13dp"
                android:height="13dp"
                android:viewportWidth="24"
                android:viewportHeight="24">
            <path
+5 −5
Original line number Diff line number Diff line
@@ -19,18 +19,18 @@ Copyright (C) 2019 The Android Open Source Project
        android:id="@+id/back">
        <shape android:shape="oval">
            <solid
                android:color="@color/GM2_yellow_500" />
                android:color="@color/notification_alert_color" />
            <size
                android:height="36dp"
                android:width="36dp"/>
                android:height="24dp"
                android:width="24dp"/>
        </shape>
    </item>
    <item
        android:id="@+id/fore"
        android:gravity="center">
        <vector
                android:width="32dp"
                android:height="32dp"
                android:width="13dp"
                android:height="13dp"
                android:viewportWidth="24"
                android:viewportHeight="24">
            <path
Loading