mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
b89c20ff40
We can do this now that our minSdk is 19.
103 lines
4.2 KiB
XML
103 lines
4.2 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">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<LinearLayout android:id="@+id/group_details_layout"
|
|
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/GroupCreateActivity_avatar_content_description" />
|
|
|
|
<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/GroupCreateActivity_group_name_hint" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:id="@+id/creating_group_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="106dp"
|
|
android:paddingStart="18dp"
|
|
android:paddingEnd="18dp"
|
|
android:paddingTop="18dp"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone">
|
|
|
|
<ProgressBar android:id="@+id/creating_progress_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="10dp"
|
|
style="@android:style/Widget.ProgressBar"
|
|
android:indeterminate="true" />
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
android:id="@+id/creating_group_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:padding="10dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout android:id="@+id/push_disabled"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="106dp"
|
|
android:padding="15dp"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:background="#aa000000"
|
|
android:visibility="gone">
|
|
|
|
<TextView android:id="@+id/push_disabled_reason"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:padding="8dp"
|
|
android:background="#dd222222"
|
|
android:textColor="#ffeeeeee"
|
|
android:fontFamily="sans-serif-light"
|
|
android:textSize="16sp"
|
|
android:text="@string/GroupCreateActivity_contacts_dont_support_push" />
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
<org.thoughtcrime.securesms.components.PushRecipientsPanel android:id="@+id/recipients"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="15dp"
|
|
android:paddingEnd="15dp" />
|
|
|
|
<ListView android:id="@+id/selected_contacts_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|