blob: db889ff9300b281c28e0c357d843c110fca21df3 [file] [log] [blame]
Beverlya58e52a2017-10-27 14:44:23 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2017 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
18<LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
Beverlya58e52a2017-10-27 14:44:23 -040020 android:layout_width="match_parent"
Jason Chiu71e9f912019-07-16 13:49:35 +080021 android:layout_height="wrap_content"
Beverlyecc377b2020-04-07 16:02:34 -040022 android:orientation="vertical">
Beverlya58e52a2017-10-27 14:44:23 -040023
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050024 <TextView
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050025 android:text="@string/zen_mode_settings_summary"
Beverlyecc377b2020-04-07 16:02:34 -040026 android:textAppearance="?android:attr/textAppearanceSmall"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050027 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:layout_marginStart="@dimen/screen_margin_sides"
Beverly32f28392020-04-10 12:30:57 -040030 android:layout_marginEnd="@dimen/description_margin_sides"
Beverlyecc377b2020-04-07 16:02:34 -040031 android:layout_marginTop="@dimen/zen_mode_settings_button_margin_vertical"/>
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050032
Beverlya58e52a2017-10-27 14:44:23 -040033 <Button
34 android:id="@+id/zen_mode_settings_turn_on_button"
35 style="@style/ActionPrimaryButton"
Beverly036d7e02018-02-01 18:14:33 -050036 android:layout_marginStart="@dimen/screen_margin_sides"
Beverly32f28392020-04-10 12:30:57 -040037 android:layout_marginEnd="@dimen/description_margin_sides"
Beverlyecc377b2020-04-07 16:02:34 -040038 android:layout_marginTop="@dimen/zen_mode_settings_button_margin_vertical"
39 android:layout_marginBottom="@dimen/zen_mode_settings_button_margin_vertical"
40 android:text="@string/zen_mode_button_turn_on"
Beverly036d7e02018-02-01 18:14:33 -050041 android:layout_width="wrap_content"
Beverlyecc377b2020-04-07 16:02:34 -040042 android:layout_height="wrap_content"/>
Beverlya58e52a2017-10-27 14:44:23 -040043
44 <Button
45 android:id="@+id/zen_mode_settings_turn_off_button"
46 style="@style/ActionSecondaryButton"
Beverly036d7e02018-02-01 18:14:33 -050047 android:layout_marginStart="@dimen/screen_margin_sides"
Beverly32f28392020-04-10 12:30:57 -040048 android:layout_marginEnd="@dimen/description_margin_sides"
Beverlyecc377b2020-04-07 16:02:34 -040049 android:layout_marginTop="@dimen/zen_mode_settings_button_margin_vertical"
50 android:layout_marginBottom="@dimen/zen_mode_settings_button_margin_vertical"
51 android:text="@string/zen_mode_button_turn_off"
Beverly036d7e02018-02-01 18:14:33 -050052 android:layout_width="wrap_content"
Beverlyecc377b2020-04-07 16:02:34 -040053 android:layout_height="wrap_content"/>
Beverlya58e52a2017-10-27 14:44:23 -040054
55</LinearLayout>