Skip to content

Instantly share code, notes, and snippets.

@hugo-adword
Created August 5, 2021 08:16
Show Gist options
  • Save hugo-adword/a8d900d23f91f8aecde76134f47b8a1d to your computer and use it in GitHub Desktop.
Save hugo-adword/a8d900d23f91f8aecde76134f47b8a1d to your computer and use it in GitHub Desktop.
modified status_bar_expanded.xml (will delete it soon)
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2006, 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.
*/
-->
<com.android.systemui.statusbar.phone.NotificationPanelView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res-auto"
android:id="@+id/notification_panel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent">
<LinearLayout
android:id="@+id/ticker_comeback"
android:animateLayoutChanges="true"
android:elevation="100dp"
android:background="@drawable/reticker_background"
android:layout_marginTop="@dimen/status_bar_header_height_keyguard"
android:visibility="gone"
android:paddingBottom="4dp"
android:paddingTop="4dp"
android:layout_gravity="center_horizontal"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/ticker_comeback_icon"
android:layout_gravity="center_vertical"
android:layout_marginLeft="12dp"
android:background="@drawable/qs_alike_top"
android:layout_width="16dp"
android:layout_height="16dp"/>
<TextView
android:id="@+id/ticker_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="12dp"
android:layout_gravity="center_vertical"
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:focusable="true"
android:focusableInTouchMode="true"
android:scrollHorizontally="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<FrameLayout
android:id="@+id/big_clock_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<include layout="@layout/lights_view"
android:id="@+id/lights_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
<include
layout="@layout/keyguard_status_view"
android:visibility="gone" />
<com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="@integer/notification_panel_layout_gravity"
android:id="@+id/notification_container_parent"
android:clipToPadding="false"
android:clipChildren="false">
<include layout="@layout/dock_info_overlay" />
<FrameLayout
android:id="@+id/qs_frame"
android:layout="@layout/qs_panel"
android:layout_width="@dimen/qs_panel_width"
android:layout_height="match_parent"
android:layout_gravity="@integer/notification_panel_layout_gravity"
android:clipToPadding="false"
android:clipChildren="false"
systemui:viewType="com.android.systemui.plugins.qs.QS" />
<com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout
android:id="@+id/notification_stack_scroller"
android:layout_marginTop="@dimen/notification_panel_margin_top"
android:layout_width="@dimen/notification_panel_width"
android:layout_height="match_parent"
android:layout_gravity="@integer/notification_panel_layout_gravity"
android:layout_marginBottom="@dimen/close_handle_underlap" />
<include layout="@layout/ambient_indication"
android:id="@+id/ambient_indication_container" />
<include layout="@layout/photo_preview_overlay" />
<ViewStub
android:id="@+id/keyguard_user_switcher"
android:layout="@layout/keyguard_user_switcher"
android:layout_height="match_parent"
android:layout_width="match_parent" />
<include
layout="@layout/keyguard_status_bar"
android:visibility="invisible" />
<ImageButton
android:id="@+id/clear_notifications"
android:layout_width="@dimen/dismiss_all_button_width"
android:layout_height="@dimen/dismiss_all_button_height"
android:layout_gravity="bottom|center_vertical|center_horizontal|center"
android:layout_marginBottom="@dimen/dismiss_all_button_margin_bottom"
android:background="@drawable/dismiss_all_background"
android:elevation="@dimen/dismiss_all_button_elevation"
android:scaleType="centerInside"
android:src="@drawable/dismiss_all_icon"
android:visibility="gone" />
<Button
android:id="@+id/report_rejected_touch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/status_bar_header_height_keyguard"
android:text="@string/report_rejected_touch"
android:visibility="gone" />
</com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer>
<include
layout="@layout/keyguard_bottom_area"
android:visibility="gone" />
<com.android.systemui.statusbar.AlphaOptimizedView
android:id="@+id/qs_navbar_scrim"
android:layout_height="96dp"
android:layout_width="match_parent"
android:layout_gravity="bottom"
android:visibility="invisible"
android:background="@drawable/qs_navbar_scrim" />
<include layout="@layout/status_bar_expanded_plugin_frame"/>
</com.android.systemui.statusbar.phone.NotificationPanelView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment