| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2015 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.qs.customize.QSCustomizer |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| android:background="@drawable/qs_customizer_background" |
| android:gravity="center_horizontal"> |
| |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="@drawable/notification_header_bg"> |
| |
| <LinearLayout |
| android:id="@+id/drag_buttons" |
| android:layout_width="match_parent" |
| android:layout_height="fill_parent" |
| android:orientation="horizontal"> |
| <FrameLayout |
| android:layout_width="0dp" |
| android:layout_height="fill_parent" |
| android:layout_weight="1"> |
| <com.android.systemui.qs.customize.DropButton |
| android:id="@+id/info_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:gravity="center" |
| android:drawableStart="@drawable/ic_info" |
| android:drawablePadding="10dp" |
| android:textAppearance="?android:attr/textAppearanceMedium" |
| android:textColor="@android:color/white" |
| android:text="@string/qs_customize_info" /> |
| </FrameLayout> |
| <FrameLayout |
| android:layout_width="0dp" |
| android:layout_height="fill_parent" |
| android:layout_weight="1"> |
| <com.android.systemui.qs.customize.DropButton |
| android:id="@+id/remove_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:gravity="center" |
| android:drawableStart="@drawable/ic_close_white" |
| android:drawablePadding="10dp" |
| android:textAppearance="?android:attr/textAppearanceMedium" |
| android:textColor="@android:color/white" |
| android:text="@string/qs_customize_remove" /> |
| </FrameLayout> |
| </LinearLayout> |
| |
| <Toolbar |
| android:id="@*android:id/action_bar" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:navigationContentDescription="@*android:string/action_bar_up_description" |
| android:background="@drawable/notification_header_bg" |
| style="?android:attr/toolbarStyle" /> |
| </FrameLayout> |
| |
| <com.android.systemui.tuner.AutoScrollView |
| android:layout_width="@dimen/notification_panel_width" |
| android:layout_height="0dp" |
| android:layout_weight="1" |
| android:paddingTop="12dp" |
| android:paddingBottom="8dp" |
| android:elevation="2dp"> |
| |
| <com.android.systemui.qs.customize.CustomQSPanel |
| android:id="@+id/quick_settings_panel" |
| android:background="#0000" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/notification_side_padding" |
| android:layout_marginRight="@dimen/notification_side_padding" /> |
| |
| </com.android.systemui.tuner.AutoScrollView> |
| |
| <com.android.systemui.qs.customize.FloatingActionButton |
| android:id="@+id/fab" |
| android:clickable="true" |
| android:layout_width="@dimen/fab_size" |
| android:layout_height="@dimen/fab_size" |
| android:layout_gravity="bottom|end" |
| android:layout_marginEnd="@dimen/fab_margin" |
| android:layout_marginBottom="@dimen/fab_margin" |
| android:elevation="@dimen/fab_elevation" |
| android:background="@drawable/fab_background" /> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/navigation_bar_size" |
| android:layout_gravity="bottom" |
| android:background="#ff000000" /> |
| |
| </com.android.systemui.qs.customize.QSCustomizer> |