mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
105 lines
3.9 KiB
XML
105 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginBottom="20dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/group_details_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="106dp"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="14dp"
|
|
android:paddingRight="18dp"
|
|
android:paddingTop="14dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="70dp"
|
|
android:layout_height="70dp"
|
|
android:layout_marginRight="10dp"
|
|
android:background="@drawable/thin_border"
|
|
android:src="@drawable/icon"/>
|
|
|
|
<EditText
|
|
android:id="@+id/group_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:hint="@string/GroupCreateActivity_group_name_hint"
|
|
android:layout_gravity="center_vertical" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/creating_group_layout"
|
|
android:visibility="gone"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="106dp"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="18dp"
|
|
android:paddingRight="18dp"
|
|
android:paddingTop="18dp">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/creating_progress_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="10dp"
|
|
android:indeterminate="true"
|
|
style="@android:style/Widget.ProgressBar" />
|
|
|
|
<TextView
|
|
android:id="@+id/creating_group_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_gravity="center_vertical" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/push_disabled"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="106dp"
|
|
android:background="#aa000000"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:padding="15dp"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:background="#dd222222"
|
|
android:textColor="#ffeeeeee"
|
|
android:fontFamily="sans-serif-light"
|
|
android:padding="8dp"
|
|
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:paddingLeft="15dp"
|
|
android:paddingRight="15dp" />
|
|
|
|
<ListView
|
|
android:id="@+id/selected_contacts_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout> |