diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-06-01 23:23:43 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-06-01 23:23:43 +0200 |
commit | f1c661246243b7a1627088794067f30b8bdaafae (patch) | |
tree | b3aaf677b6dedf8b5f16fdbd179a5170ffde207c /src/main/res | |
parent | 0a9e68e77ea53fa051e4050e1a63ea15930f4943 (diff) |
show MUC avatar in ConferenceDetailsActivity
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/activity_muc_details.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml index 523e2b53c..35fe03f16 100644 --- a/src/main/res/layout/activity_muc_details.xml +++ b/src/main/res/layout/activity_muc_details.xml @@ -34,6 +34,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:gravity="center_horizontal" android:orientation="vertical" android:padding="@dimen/card_padding_regular"> @@ -49,6 +50,17 @@ android:textIsSelectable="false" android:textStyle="bold" /> + <ImageView + android:id="@+id/details_muc_avatar" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:adjustViewBounds="true" + android:background="@drawable/message_border" + android:maxHeight="384dp" + android:maxWidth="384dp" + android:padding="1dp" + android:scaleType="centerCrop" /> + <RelativeLayout android:id="@+id/muc_settings" android:layout_width="fill_parent" |