Extracts the notification area of the status bar into a layout file and create a NotificationAreaController that controls what happens in this area. This is to allow this area to be configurable in Android Auto Embedded cases where OEMs may want their own custom implementations here. Change-Id: I8a52af676d16fd6f7d3878805970a5897d2db945
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2016 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.keyguard.AlphaOptimizedLinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/notification_icon_area_inner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
<com.android.systemui.statusbar.StatusBarIconView
|
|
android:id="@+id/moreIcon"
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
android:layout_height="match_parent"
|
|
android:src="@drawable/stat_notify_more"
|
|
android:visibility="gone" />
|
|
<com.android.systemui.statusbar.phone.IconMerger
|
|
android:id="@+id/notificationIcons"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentStart="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"/>
|
|
</com.android.keyguard.AlphaOptimizedLinearLayout> |