warning: this can cause OOM
This commit is contained in:
tom5079
2019-12-14 16:54:59 +09:00
parent ceaa930623
commit 30263c6260
7 changed files with 13 additions and 20 deletions

View File

@@ -26,18 +26,11 @@
android:background="@color/dark_gray"
tools:context=".ui.ReaderActivity">
<LinearLayout
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/reader_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/reader_recyclerview"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"/>
</LinearLayout>
android:layout_height="match_parent"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"/>
<LinearLayout
android:layout_width="match_parent"

View File

@@ -22,6 +22,4 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="100dp"
android:paddingBottom="8dp"
android:scaleType="fitCenter"
android:adjustViewBounds="true"/>
android:paddingBottom="8dp"/>