set a fixed height for RecyclerView because the height is not always calculated correctly

This commit is contained in:
Christian Schneppe 2018-10-03 15:41:46 +02:00
parent fdf2260799
commit 8e088ccdb7
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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"