2020-01-31 13:57:24 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-03-12 11:16:07 +11:00
|
|
|
<RelativeLayout
|
2020-01-31 13:57:24 +11:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-02 11:47:54 +10:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-01-31 13:57:24 +11:00
|
|
|
android:layout_width="match_parent"
|
2020-08-21 15:06:39 +10:00
|
|
|
android:layout_height="match_parent">
|
2020-01-31 13:57:24 +11:00
|
|
|
|
2020-10-02 15:24:13 +10:00
|
|
|
<ScrollView
|
2020-01-31 13:57:24 +11:00
|
|
|
android:layout_width="match_parent"
|
2020-10-02 15:24:13 +10:00
|
|
|
android:layout_height="wrap_content" >
|
2020-01-31 13:57:24 +11:00
|
|
|
|
2020-10-02 15:24:13 +10:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/mainContentContainer"
|
2020-03-12 11:16:07 +11:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-02 15:24:13 +10:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
style="@style/SessionEditText"
|
|
|
|
android:id="@+id/nameEditText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
|
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
|
|
|
android:hint="@string/activity_create_closed_group_edit_text_hint" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
|
|
|
android:background="?android:dividerHorizontal" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
2020-03-12 11:16:07 +11:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/emptyStateContainer"
|
|
|
|
android:layout_width="wrap_content"
|
2020-02-05 10:36:26 +11:00
|
|
|
android:layout_height="wrap_content"
|
2020-03-12 11:16:07 +11:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_centerInParent="true">
|
2020-01-31 13:57:24 +11:00
|
|
|
|
2020-03-12 11:16:07 +11:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textColor="@color/text"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/activity_create_closed_group_empty_state_message" />
|
2020-03-12 11:16:07 +11:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 16:46:12 +10:00
|
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
2020-08-14 15:23:06 +10:00
|
|
|
android:id="@+id/btnCreateNewPrivateChat"
|
2020-03-12 11:16:07 +11:00
|
|
|
android:layout_width="196dp"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/activity_create_closed_group_empty_state_button_title" />
|
2020-03-12 11:16:07 +11:00
|
|
|
|
|
|
|
</LinearLayout>
|
2020-01-31 13:57:24 +11:00
|
|
|
|
2020-09-02 11:47:54 +10:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="#A4000000"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:alpha="0">
|
|
|
|
|
|
|
|
<com.github.ybq.android.spinkit.SpinKitView
|
|
|
|
style="@style/SpinKitView.Large.ThreeBounce"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_centerInParent="true"
|
2020-09-10 08:45:20 +10:00
|
|
|
app:SpinKit_Color="@android:color/white" />
|
2020-09-02 11:47:54 +10:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-03-12 11:16:07 +11:00
|
|
|
</RelativeLayout>
|