Loading packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,13 @@ flag { bug: "340294566" } flag { name: "notifications_redesign_footer_view" namespace: "systemui" description: "Notifications Redesign: Update the look of the notifications footer." bug: "375010573" } flag { name: "notification_row_content_binder_refactor" namespace: "systemui" Loading packages/SystemUI/res/drawable/notif_footer_btn_history.xml 0 → 100644 +10 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M480,840Q342,840 239.5,748.5Q137,657 122,520L204,520Q218,624 296.5,692Q375,760 480,760Q597,760 678.5,678.5Q760,597 760,480Q760,363 678.5,281.5Q597,200 480,200Q411,200 351,232Q291,264 250,320L360,320L360,400L120,400L120,160L200,160L200,254Q251,190 324.5,155Q398,120 480,120Q555,120 620.5,148.5Q686,177 734.5,225.5Q783,274 811.5,339.5Q840,405 840,480Q840,555 811.5,620.5Q783,686 734.5,734.5Q686,783 620.5,811.5Q555,840 480,840ZM592,648L440,496L440,280L520,280L520,464L648,592L592,648Z"/> </vector> packages/SystemUI/res/drawable/notif_footer_btn_settings.xml 0 → 100644 +10 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M370,880L354,752Q341,747 329.5,740Q318,733 307,725L188,775L78,585L181,507Q180,500 180,493.5Q180,487 180,480Q180,473 180,466.5Q180,460 181,453L78,375L188,185L307,235Q318,227 330,220Q342,213 354,208L370,80L590,80L606,208Q619,213 630.5,220Q642,227 653,235L772,185L882,375L779,453Q780,460 780,466.5Q780,473 780,480Q780,487 780,493.5Q780,500 778,507L881,585L771,775L653,725Q642,733 630,740Q618,747 606,752L590,880L370,880ZM440,800L519,800L533,694Q564,686 590.5,670.5Q617,655 639,633L738,674L777,606L691,541Q696,527 698,511.5Q700,496 700,480Q700,464 698,448.5Q696,433 691,419L777,354L738,286L639,328Q617,305 590.5,289.5Q564,274 533,266L520,160L441,160L427,266Q396,274 369.5,289.5Q343,305 321,327L222,286L183,354L269,418Q264,433 262,448Q260,463 260,480Q260,496 262,511Q264,526 269,541L183,606L222,674L321,632Q343,655 369.5,670.5Q396,686 427,694L440,800ZM482,620Q540,620 581,579Q622,538 622,480Q622,422 581,381Q540,340 482,340Q423,340 382.5,381Q342,422 342,480Q342,538 382.5,579Q423,620 482,620ZM480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Z"/> </vector> packages/SystemUI/res/layout/status_bar_notification_footer_redesign.xml 0 → 100644 +82 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2024 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 --> <!-- Extends Framelayout --> <com.android.systemui.statusbar.notification.footer.ui.view.FooterView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone"> <com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:id="@+id/content" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="12dp"> <TextView android:id="@+id/unlock_prompt_footer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:drawablePadding="8dp" android:gravity="center" android:text="@string/unlock_to_see_notif_text" android:textAppearance="?android:attr/textAppearanceButton" android:visibility="gone" /> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/settings_button" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="wrap_content" android:layout_height="48dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/notification_settings_button_description" android:drawableStart="@drawable/notif_footer_btn_settings" android:focusable="true" app:layout_constraintStart_toStartOf="parent" /> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/dismiss_text" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="0dp" android:layout_height="48dp" android:layout_marginHorizontal="8dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/accessibility_clear_all" android:focusable="true" android:text="@string/clear_all_notifications_text" app:layout_constraintEnd_toStartOf="@id/history_button" app:layout_constraintStart_toEndOf="@id/settings_button" /> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/history_button" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="wrap_content" android:layout_height="48dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/notification_history_button_description" android:drawableStart="@drawable/notif_footer_btn_history" android:focusable="true" app:layout_constraintEnd_toEndOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> </com.android.systemui.statusbar.notification.footer.ui.view.FooterView> packages/SystemUI/res/values/strings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -1463,6 +1463,12 @@ <!-- The text for the notification history link. [CHAR LIMIT=40] --> <string name="manage_notifications_history_text">History</string> <!-- The accessibility description for the notification settings button in the notification shade. --> <string name="notification_settings_button_description">Notification settings</string> <!-- The accessibility description for the notification history button in the notification shade. --> <string name="notification_history_button_description">Notification history</string> <!-- Section title for notifications that have recently appeared. [CHAR LIMIT=40] --> <string name="notification_section_header_incoming">New</string> Loading Loading
packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,13 @@ flag { bug: "340294566" } flag { name: "notifications_redesign_footer_view" namespace: "systemui" description: "Notifications Redesign: Update the look of the notifications footer." bug: "375010573" } flag { name: "notification_row_content_binder_refactor" namespace: "systemui" Loading
packages/SystemUI/res/drawable/notif_footer_btn_history.xml 0 → 100644 +10 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M480,840Q342,840 239.5,748.5Q137,657 122,520L204,520Q218,624 296.5,692Q375,760 480,760Q597,760 678.5,678.5Q760,597 760,480Q760,363 678.5,281.5Q597,200 480,200Q411,200 351,232Q291,264 250,320L360,320L360,400L120,400L120,160L200,160L200,254Q251,190 324.5,155Q398,120 480,120Q555,120 620.5,148.5Q686,177 734.5,225.5Q783,274 811.5,339.5Q840,405 840,480Q840,555 811.5,620.5Q783,686 734.5,734.5Q686,783 620.5,811.5Q555,840 480,840ZM592,648L440,496L440,280L520,280L520,464L648,592L592,648Z"/> </vector>
packages/SystemUI/res/drawable/notif_footer_btn_settings.xml 0 → 100644 +10 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="20dp" android:height="20dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M370,880L354,752Q341,747 329.5,740Q318,733 307,725L188,775L78,585L181,507Q180,500 180,493.5Q180,487 180,480Q180,473 180,466.5Q180,460 181,453L78,375L188,185L307,235Q318,227 330,220Q342,213 354,208L370,80L590,80L606,208Q619,213 630.5,220Q642,227 653,235L772,185L882,375L779,453Q780,460 780,466.5Q780,473 780,480Q780,487 780,493.5Q780,500 778,507L881,585L771,775L653,725Q642,733 630,740Q618,747 606,752L590,880L370,880ZM440,800L519,800L533,694Q564,686 590.5,670.5Q617,655 639,633L738,674L777,606L691,541Q696,527 698,511.5Q700,496 700,480Q700,464 698,448.5Q696,433 691,419L777,354L738,286L639,328Q617,305 590.5,289.5Q564,274 533,266L520,160L441,160L427,266Q396,274 369.5,289.5Q343,305 321,327L222,286L183,354L269,418Q264,433 262,448Q260,463 260,480Q260,496 262,511Q264,526 269,541L183,606L222,674L321,632Q343,655 369.5,670.5Q396,686 427,694L440,800ZM482,620Q540,620 581,579Q622,538 622,480Q622,422 581,381Q540,340 482,340Q423,340 382.5,381Q342,422 342,480Q342,538 382.5,579Q423,620 482,620ZM480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Z"/> </vector>
packages/SystemUI/res/layout/status_bar_notification_footer_redesign.xml 0 → 100644 +82 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2024 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 --> <!-- Extends Framelayout --> <com.android.systemui.statusbar.notification.footer.ui.view.FooterView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone"> <com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:id="@+id/content" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="12dp"> <TextView android:id="@+id/unlock_prompt_footer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:drawablePadding="8dp" android:gravity="center" android:text="@string/unlock_to_see_notif_text" android:textAppearance="?android:attr/textAppearanceButton" android:visibility="gone" /> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/settings_button" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="wrap_content" android:layout_height="48dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/notification_settings_button_description" android:drawableStart="@drawable/notif_footer_btn_settings" android:focusable="true" app:layout_constraintStart_toStartOf="parent" /> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/dismiss_text" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="0dp" android:layout_height="48dp" android:layout_marginHorizontal="8dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/accessibility_clear_all" android:focusable="true" android:text="@string/clear_all_notifications_text" app:layout_constraintEnd_toStartOf="@id/history_button" app:layout_constraintStart_toEndOf="@id/settings_button" /> <com.android.systemui.statusbar.notification.row.FooterViewButton android:id="@+id/history_button" style="@style/TextAppearance.NotificationFooterButtonRedesign" android:layout_width="wrap_content" android:layout_height="48dp" android:background="@drawable/notif_footer_btn_background" android:contentDescription="@string/notification_history_button_description" android:drawableStart="@drawable/notif_footer_btn_history" android:focusable="true" app:layout_constraintEnd_toEndOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> </com.android.systemui.statusbar.notification.footer.ui.view.FooterView>
packages/SystemUI/res/values/strings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -1463,6 +1463,12 @@ <!-- The text for the notification history link. [CHAR LIMIT=40] --> <string name="manage_notifications_history_text">History</string> <!-- The accessibility description for the notification settings button in the notification shade. --> <string name="notification_settings_button_description">Notification settings</string> <!-- The accessibility description for the notification history button in the notification shade. --> <string name="notification_history_button_description">Notification history</string> <!-- Section title for notifications that have recently appeared. [CHAR LIMIT=40] --> <string name="notification_section_header_incoming">New</string> Loading