blob: afa97acd52d6ef9033dd681083048967b3b4bf5d [file] [log] [blame]
John Spurlock45fa1402015-04-09 12:50:04 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
John Spurlockc96a5dc2015-04-10 11:59:54 -040016<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17 android:orientation="vertical"
John Spurlock45fa1402015-04-09 12:50:04 -040018 android:layout_width="match_parent"
19 android:layout_height="wrap_content" >
20
21 <EditText
Beverly4359d4b2017-10-02 09:45:48 -040022 android:id="@+id/zen_mode_rule_name"
John Spurlock45fa1402015-04-09 12:50:04 -040023 android:layout_width="match_parent"
Julia Reynoldsfceea9d2020-02-26 15:12:12 -050024 android:layout_height="48dp"
John Spurlock45fa1402015-04-09 12:50:04 -040025 android:singleLine="true"
John Spurlockb3d2f082015-05-20 23:14:49 -040026 android:inputType="textCapSentences"
John Spurlockf57bad72015-04-30 09:26:15 -040027 android:hint="@string/zen_mode_rule_name_hint"
John Spurlock45fa1402015-04-09 12:50:04 -040028 android:layout_marginLeft="22dp"
29 android:layout_marginRight="22dp" >
30
31 <requestFocus />
32
33 </EditText>
34
John Spurlock7b4d1e22015-06-04 11:37:36 -040035 <TextView
Beverly4359d4b2017-10-02 09:45:48 -040036 android:id="@+id/zen_mode_rule_name_warning"
John Spurlock7b4d1e22015-06-04 11:37:36 -040037 android:visibility="invisible"
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:singleLine="true"
41 android:layout_marginLeft="26dp"
42 android:layout_marginRight="26dp"
Jason Monk6fca98f2017-02-01 20:20:44 -050043 android:textColor="?android:attr/colorError"
John Spurlock7b4d1e22015-06-04 11:37:36 -040044 android:text="@string/zen_mode_rule_name_warning" />
45
John Spurlockc96a5dc2015-04-10 11:59:54 -040046</LinearLayout>