set a fixed height for RecyclerView because the height is not always calculated correctly
This commit is contained in:
parent
fdf2260799
commit
8e088ccdb7
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in a new issue