aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_muc_details.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-27 14:56:20 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-27 14:56:20 +0100
commit71f8e656db044a3b3e28cb82a954521699fe9602 (patch)
treec65950352826fad22fa90e03773f9f72c5007391 /src/main/res/layout/activity_muc_details.xml
parent712c6d32d205fb12bf8b61b3ee544a451dd117ca (diff)
refactored group chat members into seperate screen
Diffstat (limited to 'src/main/res/layout/activity_muc_details.xml')
-rw-r--r--src/main/res/layout/activity_muc_details.xml38
1 files changed, 31 insertions, 7 deletions
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml
index c29d78c26..b8da6f213 100644
--- a/src/main/res/layout/activity_muc_details.xml
+++ b/src/main/res/layout/activity_muc_details.xml
@@ -463,8 +463,8 @@
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView
- android:id="@+id/muc_more_details"
- android:layout_width="match_parent"
+ android:id="@+id/users_wrapper"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_horizontal_margin"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
@@ -489,16 +489,40 @@
android:layout_marginBottom="24dp"
android:text="@string/invite_contact" />
- <LinearLayout
- android:id="@+id/muc_members"
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/users"
android:layout_width="fill_parent"
android:layout_height="0dp"
+ android:layout_marginStart="-2dp"
+ android:layout_marginEnd="-2dp"
android:layout_weight="1"
android:divider="?android:dividerHorizontal"
- android:orientation="vertical"
- android:showDividers="middle" />
- </LinearLayout>
+ android:orientation="horizontal"
+ android:paddingStart="@dimen/card_padding_regular"
+ android:paddingTop="@dimen/card_padding_regular"
+ android:paddingEnd="@dimen/card_padding_regular"
+ android:paddingBottom="@dimen/card_padding_list" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="end"
+ android:orientation="horizontal">
+ <Button
+ android:id="@+id/show_users"
+ style="@style/Widget.Conversations.Button.Borderless"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:minWidth="0dp"
+ android:paddingStart="16dp"
+ android:paddingLeft="16dp"
+ android:paddingEnd="16dp"
+ android:paddingRight="16dp"
+ android:text="@string/view_users"
+ android:textColor="?attr/colorAccent" />
+ </LinearLayout>
+ </LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
</ScrollView>