Also remove toggle from zen tile + fix bottom padding. Bug:15315490 Change-Id: Ib839b9280ce60d2f51e4c0c46e41a7743e7ec8f6
69 lines
2.5 KiB
XML
69 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2007 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.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/visible_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<FrameLayout
|
|
android:id="@+id/slider_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="64dip"
|
|
android:layout_toLeftOf="@+id/expand_button_divider" />
|
|
|
|
<ImageView
|
|
android:id="@+id/expand_button_divider"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="32dip"
|
|
android:layout_gravity="top"
|
|
android:layout_marginBottom="16dip"
|
|
android:layout_marginTop="16dip"
|
|
android:layout_toLeftOf="@+id/expand_button"
|
|
android:scaleType="fitXY"
|
|
android:src="?android:attr/dividerVertical" />
|
|
|
|
<ImageView
|
|
android:id="@+id/expand_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_gravity="top"
|
|
style="@style/BorderlessButton.Tiny"
|
|
android:padding="16dip" />
|
|
|
|
<ImageView
|
|
android:id="@+id/zen_panel_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/slider_panel"
|
|
android:layout_marginLeft="16dip"
|
|
android:layout_marginRight="16dip"
|
|
android:scaleType="fitXY"
|
|
android:src="?android:attr/dividerHorizontal" />
|
|
|
|
<ViewStub
|
|
android:id="@+id/zen_panel_stub"
|
|
android:layout_below="@+id/zen_panel_divider"
|
|
android:inflatedId="@+id/zen_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout="@layout/zen_mode_panel" />
|
|
|
|
</RelativeLayout>
|