dialog_create_public_channel.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android">
 3
 4    <LinearLayout
 5        android:layout_width="match_parent"
 6        android:layout_height="match_parent"
 7        android:orientation="vertical"
 8        android:padding="?dialogPreferredPadding">
 9
10        <com.google.android.material.textfield.TextInputLayout
11            style="@style/Widget.Material3.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
12            android:layout_width="match_parent"
13            android:layout_height="wrap_content"
14            android:hint="@string/your_account">
15
16            <AutoCompleteTextView
17                android:id="@+id/account"
18                android:layout_width="match_parent"
19                android:layout_height="wrap_content"
20                android:inputType="none" />
21        </com.google.android.material.textfield.TextInputLayout>
22
23
24        <com.google.android.material.textfield.TextInputLayout
25            android:id="@+id/name_layout"
26            android:layout_width="match_parent"
27            android:layout_height="wrap_content"
28            android:layout_marginTop="8dp">
29
30            <EditText
31                android:id="@+id/group_chat_name"
32                android:layout_width="match_parent"
33                android:layout_height="wrap_content"
34                android:hint="@string/create_dialog_channel_name"
35                android:imeOptions="actionNext|flagNoExtractUi" />
36        </com.google.android.material.textfield.TextInputLayout>
37
38        <com.google.android.material.textfield.TextInputLayout
39            android:id="@+id/xmpp_address_layout"
40            android:layout_width="match_parent"
41            android:layout_height="wrap_content"
42            android:layout_marginTop="8dp"
43            android:hint="@string/xmpp_address"
44            android:visibility="gone">
45
46            <AutoCompleteTextView
47                android:id="@+id/jid"
48                android:layout_width="fill_parent"
49                android:layout_height="wrap_content"
50                android:imeOptions="actionDone|flagNoExtractUi"
51                android:inputType="textEmailAddress"
52                android:padding="16dp" />
53        </com.google.android.material.textfield.TextInputLayout>
54    </LinearLayout>
55</layout>