2014-01-18 18:17:08 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-12-29 17:31:41 -08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2014-01-18 18:17:08 -08:00
|
|
|
|
2014-02-12 17:17:33 -08:00
|
|
|
<RelativeLayout
|
2014-02-06 18:06:23 -08:00
|
|
|
android:layout_width="fill_parent"
|
2014-01-18 18:17:08 -08:00
|
|
|
android:layout_height="wrap_content"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
android:gravity="center_vertical">
|
2014-01-18 18:17:08 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<LinearLayout android:id="@+id/group_details_layout"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="106dp"
|
2014-02-13 01:35:08 -08:00
|
|
|
android:paddingLeft="14dp"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:paddingRight="18dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:paddingTop="14dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
2014-02-12 17:17:33 -08:00
|
|
|
|
2014-02-18 22:08:24 -08:00
|
|
|
<org.thoughtcrime.securesms.components.ImageDivet android:id="@+id/avatar"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_width="70dp"
|
|
|
|
android:layout_height="70dp"
|
2014-02-18 22:08:24 -08:00
|
|
|
position="bottom_right"
|
2014-12-29 17:31:41 -08:00
|
|
|
app:riv_oval="true"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_marginRight="10dp"
|
2014-02-20 15:41:52 -08:00
|
|
|
android:src="@drawable/ic_group_photo"
|
2014-02-18 22:08:24 -08:00
|
|
|
android:contentDescription="@string/GroupCreateActivity_avatar_content_description" />
|
2014-02-12 17:17:33 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<EditText android:id="@+id/group_name"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:layout_gravity="center_vertical"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:padding="10dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:lines="1"
|
|
|
|
android:inputType="textAutoCorrect"
|
|
|
|
android:hint="@string/GroupCreateActivity_group_name_hint" />
|
2014-02-12 17:17:33 -08:00
|
|
|
</LinearLayout>
|
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<LinearLayout android:id="@+id/creating_group_layout"
|
2014-02-13 11:44:07 -08:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="106dp"
|
|
|
|
android:paddingLeft="18dp"
|
|
|
|
android:paddingRight="18dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:paddingTop="18dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:visibility="gone">
|
2014-02-13 11:44:07 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<ProgressBar android:id="@+id/creating_progress_bar"
|
2014-02-13 11:44:07 -08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="10dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
style="@android:style/Widget.ProgressBar"
|
|
|
|
android:indeterminate="true" />
|
2014-02-13 11:44:07 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<TextView android:id="@+id/creating_group_text"
|
2014-02-13 11:44:07 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:layout_gravity="center_vertical"
|
2014-02-13 11:44:07 -08:00
|
|
|
android:padding="10dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
2014-02-13 11:44:07 -08:00
|
|
|
</LinearLayout>
|
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<RelativeLayout android:id="@+id/push_disabled"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_width="fill_parent"
|
2014-02-13 01:35:08 -08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="106dp"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:padding="15dp"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:background="#aa000000"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:visibility="gone">
|
|
|
|
|
2014-02-17 17:31:48 -08:00
|
|
|
<TextView android:id="@+id/push_disabled_reason"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
2014-02-15 04:21:56 -08:00
|
|
|
android:padding="8dp"
|
2014-02-13 01:35:08 -08:00
|
|
|
android:background="#dd222222"
|
2014-02-12 17:17:33 -08:00
|
|
|
android:textColor="#ffeeeeee"
|
|
|
|
android:fontFamily="sans-serif-light"
|
2014-02-13 01:35:08 -08:00
|
|
|
android:textSize="16sp"
|
2014-02-12 18:12:58 -08:00
|
|
|
android:text="@string/GroupCreateActivity_contacts_dont_support_push" />
|
2014-02-12 17:17:33 -08:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
2014-01-18 18:17:08 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<org.thoughtcrime.securesms.components.PushRecipientsPanel android:id="@+id/recipients"
|
2014-02-06 18:06:23 -08:00
|
|
|
android:layout_width="fill_parent"
|
2014-02-13 01:35:08 -08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="15dp"
|
|
|
|
android:paddingRight="15dp" />
|
2014-01-18 18:17:08 -08:00
|
|
|
|
2014-02-15 04:21:56 -08:00
|
|
|
<ListView android:id="@+id/selected_contacts_list"
|
2014-01-18 18:17:08 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|