diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-06-29 22:48:22 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-06-29 22:48:22 +0200 |
commit | 81ba0b467e17c901c9d25dbea2331c7a848c7034 (patch) | |
tree | dbc40e898673ad57addbcc3fde151b379a6f35d9 /src/main/res/layout/dialog_quickedit.xml | |
parent | 70477c9fc9c6c6df45d2b921d920ec4070535bb4 (diff) |
use TextInputLayout in quickedit dialog
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/dialog_quickedit.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/res/layout/dialog_quickedit.xml b/src/main/res/layout/dialog_quickedit.xml new file mode 100644 index 000000000..273bcf1e9 --- /dev/null +++ b/src/main/res/layout/dialog_quickedit.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<layout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingLeft="?attr/dialog_horizontal_padding" + android:paddingRight="?attr/dialog_horizontal_padding" + android:paddingTop="?attr/dialog_vertical_padding"> + + <android.support.design.widget.TextInputLayout + android:id="@+id/input_layout" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:errorEnabled="true" + app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error" + app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint"> + + <android.support.design.widget.TextInputEditText + android:id="@+id/input_edit_text" + style="@style/Widget.Conversations.EditText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ems="10" + android:inputType="textPersonName"> + + <requestFocus /> + </android.support.design.widget.TextInputEditText> + + </android.support.design.widget.TextInputLayout> + </LinearLayout> +</layout>
\ No newline at end of file |