blob: 94db3dda8f8895b1d98ad308134bca3fd38ba7cc [file] [log] [blame]
Walter Jangf260c8c2016-05-15 14:50:36 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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-->
16
Marcus Hagerott8d62cd22016-08-01 17:31:38 -070017<android.support.design.widget.TextInputLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/text_input_layout"
Sean Midfordd3bf8fc2016-11-22 14:59:24 -080021 android:layout_width="match_parent"
Walter Jangf260c8c2016-05-15 14:50:36 -070022 android:layout_height="wrap_content"
23 android:orientation="vertical"
Sean Midfordd3bf8fc2016-11-22 14:59:24 -080024 android:paddingTop="@dimen/custom_dialog_layout_padding"
25 android:paddingEnd="@dimen/custom_dialog_layout_padding"
26 android:paddingStart="@dimen/custom_dialog_layout_padding"
Marcus Hagerott8d62cd22016-08-01 17:31:38 -070027 app:errorEnabled="true"
28 app:hintEnabled="false">
Walter Jangf260c8c2016-05-15 14:50:36 -070029
Marcus Hagerott8d62cd22016-08-01 17:31:38 -070030 <android.support.design.widget.TextInputEditText
31 android:id="@android:id/text1"
Walter Jangf260c8c2016-05-15 14:50:36 -070032 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
Sean Midfordd3bf8fc2016-11-22 14:59:24 -080034 android:layout_marginBottom="@dimen/custom_dialog_layout"
35 android:layout_marginEnd="@dimen/custom_dialog_layout"
Walter Jang72f99882016-05-26 09:01:31 -070036 android:hint="@string/group_name_dialog_hint"
Walter Jang76931b42016-07-09 14:59:16 -070037 android:inputType="text"
Marcus Hagerott8d62cd22016-08-01 17:31:38 -070038 android:maxLength="@integer/group_name_max_length"
Sean Midfordd3bf8fc2016-11-22 14:59:24 -080039 android:minHeight="@dimen/dialog_edit_text_min_height"
40 android:textAlignment="viewStart"
Marcus Hagerott8d62cd22016-08-01 17:31:38 -070041 android:singleLine="true"/>
42</android.support.design.widget.TextInputLayout>