2020-04-03 19:24:25 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-08-09 16:29:04 +00:00
|
|
|
tools:viewBindingIgnore="true"
|
2020-04-03 19:24:25 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-11-10 15:20:54 +00:00
|
|
|
android:background="@drawable/preference_divider"
|
2020-04-03 19:24:25 +00:00
|
|
|
android:fillViewport="true"
|
2020-06-26 20:11:39 +00:00
|
|
|
android:paddingTop="0dp"
|
2020-08-26 18:59:34 +00:00
|
|
|
tools:context="org.thoughtcrime.securesms.groups.ui.invitesandrequests.invited.PendingMemberInvitesFragment">
|
2020-04-03 19:24:25 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/pendingmemberinvites"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2023-03-08 18:55:19 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2020-04-03 19:24:25 +00:00
|
|
|
android:id="@+id/cardView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-26 20:11:39 +00:00
|
|
|
app:cardBackgroundColor="?android:windowBackground"
|
2020-04-03 19:24:25 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/TextAppearance.Signal.Subtitle2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2020-08-26 18:59:34 +00:00
|
|
|
android:layout_marginTop="24dp"
|
2020-04-03 19:24:25 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:text="@string/PendingMembersActivity_people_you_invited" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/no_pending_from_you"
|
|
|
|
style="@style/TextAppearance.Signal.Body2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:text="@string/PendingMembersActivity_you_have_no_pending_invites"
|
2020-06-26 20:11:39 +00:00
|
|
|
android:textColor="?android:textColorSecondary"
|
2020-04-03 19:24:25 +00:00
|
|
|
android:visibility="gone"
|
2020-06-26 20:11:39 +00:00
|
|
|
tools:visibility="visible" />
|
2020-04-03 19:24:25 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.groups.ui.GroupMemberListView
|
|
|
|
android:id="@+id/members_you_invited"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:listitem="@layout/group_recipient_list_item"
|
|
|
|
tools:maxHeight="192dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-03-08 18:55:19 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2020-04-03 19:24:25 +00:00
|
|
|
|
2023-03-08 18:55:19 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2020-04-03 19:24:25 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-26 20:11:39 +00:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?android:windowBackground"
|
2020-04-03 19:24:25 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/cardView">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/TextAppearance.Signal.Subtitle2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:text="@string/PendingMembersActivity_invites_by_other_group_members" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/no_pending_from_others"
|
|
|
|
style="@style/TextAppearance.Signal.Body2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:text="@string/PendingMembersActivity_no_pending_invites_by_other_group_members"
|
2020-06-26 20:11:39 +00:00
|
|
|
android:textColor="?android:textColorSecondary"
|
2020-04-03 19:24:25 +00:00
|
|
|
android:visibility="gone"
|
2020-06-26 20:11:39 +00:00
|
|
|
tools:visibility="visible" />
|
2020-04-03 19:24:25 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.groups.ui.GroupMemberListView
|
|
|
|
android:id="@+id/members_others_invited"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:listitem="@layout/group_recipient_list_item"
|
|
|
|
tools:maxHeight="192dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/TextAppearance.Signal.Caption"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:text="@string/PendingMembersActivity_missing_detail_explanation" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-03-08 18:55:19 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2020-04-03 19:24:25 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|