Files
arcanechat-android/res/layout/group_create_activity.xml
T
bjoern e71f5d9bba broadcasts android ui (#2060)
* add broadcasts ffi

* add 'broadcast' options to menu, chat, profile etc.

* generate initial broadcast names

* reword broadcast hint

* make 'Broadcasts Lists' experimental; while on that, also add a confirmation dialog to the location streaming switch (wording taken from ios)

* Update res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* comment on strings.xml

* tweak 'experimental' appearing, avoid the 'test tube'-emoji that is not supported on many devices

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-09-30 15:44:17 +02:00

87 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/group_image_holder"
android:layout_width="fill_parent"
android:layout_height="106dp"
android:paddingStart="14dp"
android:paddingEnd="18dp"
android:paddingTop="14dp"
android:orientation="horizontal"
android:gravity="center_vertical">
<org.thoughtcrime.securesms.components.ImageDivet android:id="@+id/avatar"
android:layout_width="70dp"
android:layout_height="70dp"
position="bottom_right"
android:layout_marginEnd="10dp"
android:contentDescription="@string/group_avatar" />
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
android:id="@+id/group_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:padding="10dp"
android:lines="1"
android:maxLength="255"
android:inputType="textAutoCorrect"
android:hint="@string/group_name" />
</LinearLayout>
<TextView
android:id="@+id/group_hints"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="start"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:textSize="18sp"
android:text="@string/verified_group_explain" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<Button
style="@style/ButtonPrimary"
android:id="@+id/add_member_button"
android:layout_weight="1"
android:layout_gravity="fill_vertical"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginStart="15dp"
android:layout_marginLeft="15dp"
android:layout_marginBottom="15dp"
android:text="@string/group_add_members"/>
<Button
style="@style/ButtonPrimary"
android:id="@+id/verify_button"
android:layout_weight="1"
android:layout_gravity="fill_vertical"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="15dp"
android:text="@string/qrshow_title"/>
</LinearLayout>
<ListView android:id="@+id/selected_contacts_list"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>