diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-10-03 15:41:46 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-10-03 15:41:46 +0200 |
commit | 8e088ccdb71495cf8bbd86919011296d2f7acde0 (patch) | |
tree | e5582c628d67dd29333245bef430163ba748e6c9 /src/main/res | |
parent | fdf2260799994507097767503e634a0108b2c6fb (diff) |
set a fixed height for RecyclerView because the height is not always calculated correctly
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/layout/activity_contact_details.xml | 2 | ||||
-rw-r--r-- | src/main/res/layout/activity_muc_details.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml index ff2da6710..58fe0c901 100644 --- a/src/main/res/layout/activity_contact_details.xml +++ b/src/main/res/layout/activity_contact_details.xml @@ -253,7 +253,7 @@ <android.support.v7.widget.RecyclerView android:id="@+id/media" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="100dp" android:layout_marginEnd="-2dp" android:layout_marginStart="-2dp" android:orientation="horizontal" diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml index c60519720..29400a246 100644 --- a/src/main/res/layout/activity_muc_details.xml +++ b/src/main/res/layout/activity_muc_details.xml @@ -296,7 +296,7 @@ <android.support.v7.widget.RecyclerView android:id="@+id/media" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="100dp" android:layout_marginEnd="-2dp" android:layout_marginStart="-2dp" android:orientation="horizontal" |