diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
index 7212d01aca..be465e8738 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPageSheet.kt
@@ -1,6 +1,8 @@
package eu.kanade.tachiyomi.ui.reader
+import android.os.Bundle
import android.support.design.widget.BottomSheetDialog
+import android.view.ViewGroup
import com.afollestad.materialdialogs.MaterialDialog
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.source.model.Page
@@ -28,6 +30,14 @@ class ReaderPageSheet(
save_layout.setOnClickListener { save() }
}
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ val width = context.resources.getDimensionPixelSize(R.dimen.bottom_sheet_width)
+ if (width > 0) {
+ window?.setLayout(width, ViewGroup.LayoutParams.MATCH_PARENT)
+ }
+ }
+
/**
* Sets the image of this page as the cover of the manga.
*/
diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml
index 63fc816444..0b0e8dced3 100644
--- a/app/src/main/res/values-w820dp/dimens.xml
+++ b/app/src/main/res/values-w820dp/dimens.xml
@@ -3,4 +3,6 @@
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
64dp
+
+ 480dp
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index bf8d561556..77114a2479 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -25,4 +25,5 @@
158dp
16dp
+ 0dp