| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2014 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:layout_width="match_parent" |
| android:layout_height="@dimen/qs_detail_item_height" |
| android:layout_marginLeft="@dimen/zen_mode_condition_detail_button_padding" |
| android:layout_marginRight="@dimen/qs_panel_padding" > |
| |
| <RadioButton |
| android:id="@android:id/checkbox" |
| android:layout_width="40dp" |
| android:layout_marginStart="2dp" |
| android:layout_marginEnd="1dp" |
| android:layout_height="match_parent" |
| android:layout_alignParentStart="true" |
| android:gravity="center" /> |
| |
| <TextView |
| android:id="@android:id/title" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_toEndOf="@android:id/checkbox" |
| android:layout_toStartOf="@android:id/button1" |
| android:ellipsize="end" |
| android:gravity="center_vertical" |
| android:maxLines="1" |
| android:textAppearance="@style/TextAppearance.QS.DetailItemPrimary" /> |
| |
| <ImageView |
| android:id="@android:id/button1" |
| style="@style/QSBorderlessButton" |
| android:layout_width="32dp" |
| android:layout_height="32dp" |
| android:layout_centerVertical="true" |
| android:layout_marginEnd="@dimen/qs_panel_padding" |
| android:scaleType="center" |
| android:layout_toStartOf="@android:id/button2" |
| android:contentDescription="@string/accessibility_quick_settings_less_time" |
| android:src="@drawable/ic_qs_minus" /> |
| |
| <ImageView |
| android:id="@android:id/button2" |
| style="@style/QSBorderlessButton" |
| android:layout_width="32dp" |
| android:layout_height="32dp" |
| android:layout_alignParentEnd="true" |
| android:scaleType="center" |
| android:layout_centerVertical="true" |
| android:contentDescription="@string/accessibility_quick_settings_more_time" |
| android:src="@drawable/ic_qs_plus" /> |
| |
| </RelativeLayout> |