diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-01 14:36:58 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-01 14:40:14 +0200 |
commit | 29b2adf5fd6725b47a647634657aeb8a94756534 (patch) | |
tree | 0da0775e9087c31294bcc7953bd06c525efe727d /src/main/res/layout/create_conference_dialog.xml | |
parent | 725b1a7406a06584e1b15a1cc273e926ec9e6804 (diff) |
changed some of the jid entering dialogs to textinputlayout
Diffstat (limited to 'src/main/res/layout/create_conference_dialog.xml')
-rw-r--r-- | src/main/res/layout/create_conference_dialog.xml | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/src/main/res/layout/create_conference_dialog.xml b/src/main/res/layout/create_conference_dialog.xml index e33b4516e..0b83d1d84 100644 --- a/src/main/res/layout/create_conference_dialog.xml +++ b/src/main/res/layout/create_conference_dialog.xml @@ -10,11 +10,10 @@ <TextView android:id="@+id/your_account" - android:layout_width="wrap_content" + style="@style/InputLabel" + android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/your_account" - android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody" android:visibility="gone" /> <Spinner @@ -23,22 +22,22 @@ android:layout_height="wrap_content" android:visibility="gone" /> - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:text="@string/conference_subject" - android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody" /> + <View + android:layout_width="0dp" + android:layout_height="0dp" + android:focusable="true" + android:focusableInTouchMode="true" /> - <EditText - android:id="@+id/subject" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:hint="@string/edit_subject_hint" - android:inputType="textAutoComplete" - android:textColor="@color/black87" - android:textColorHint="@color/black54" - android:textSize="?attr/TextSizeBody" /> + <android.support.design.widget.TextInputLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <android.support.design.widget.TextInputEditText + android:id="@+id/subject" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="@string/edit_subject_hint" + android:nextFocusDown="@+id/subject" + android:nextFocusUp="@+id/subject" /> + </android.support.design.widget.TextInputLayout> </LinearLayout>
\ No newline at end of file |