diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/dialog_quickedit.xml | 34 | ||||
-rw-r--r-- | src/main/res/layout/quickedit.xml | 19 |
2 files changed, 34 insertions, 19 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 diff --git a/src/main/res/layout/quickedit.xml b/src/main/res/layout/quickedit.xml deleted file mode 100644 index 0bf2cb5fe..000000000 --- a/src/main/res/layout/quickedit.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:padding="16dp"> - - <android.support.text.emoji.widget.EmojiEditText - android:id="@+id/editor" - style="@style/Widget.Conversations.EditText" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:ems="10" - android:inputType="textPersonName"> - - <requestFocus /> - </android.support.text.emoji.widget.EmojiEditText> - -</LinearLayout>
\ No newline at end of file |