aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/create_public_channel_dialog.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-02-07 21:11:50 +0100
committerChristian Schneppe <christian@pix-art.de>2019-02-07 21:11:50 +0100
commit1b3406cdbb6c620cca975b0bc32b43b60fa246cb (patch)
tree159b4be35bfcc995ba5a8dc2638335bdc998ca9a /src/main/res/layout/create_public_channel_dialog.xml
parentba4acfd2c11b55373cc856ee48ffb9a56030e6f4 (diff)
provide the same fab submenu for both tabs. rename tab to bookmark
Diffstat (limited to 'src/main/res/layout/create_public_channel_dialog.xml')
-rw-r--r--src/main/res/layout/create_public_channel_dialog.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/res/layout/create_public_channel_dialog.xml b/src/main/res/layout/create_public_channel_dialog.xml
new file mode 100644
index 000000000..a409cde37
--- /dev/null
+++ b/src/main/res/layout/create_public_channel_dialog.xml
@@ -0,0 +1,56 @@
+<?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:padding="?dialogPreferredPadding">
+
+ <TextView
+ style="@style/InputLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/your_account" />
+
+ <Spinner
+ android:id="@+id/account"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <android.support.design.widget.TextInputLayout
+ android:id="@+id/name_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
+ app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
+
+ <de.pixart.messenger.ui.widget.EmojiWrapperEditText
+ android:id="@+id/group_chat_name"
+ style="@style/Widget.Conversations.EditText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/create_dialog_channel_name"
+ android:imeOptions="actionNext|flagNoExtractUi" />
+ </android.support.design.widget.TextInputLayout>
+
+ <android.support.design.widget.TextInputLayout
+ android:id="@+id/xmpp_address_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/xmpp_address"
+ android:visibility="gone"
+ app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
+ app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
+
+ <AutoCompleteTextView
+ android:id="@+id/jid"
+ style="@style/Widget.Conversations.EditText"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="actionDone|flagNoExtractUi"
+ android:inputType="textEmailAddress" />
+ </android.support.design.widget.TextInputLayout>
+ </LinearLayout>
+</layout> \ No newline at end of file