Webtoon reader scroll with pan

This commit is contained in:
Koitharu
2020-03-04 20:54:50 +02:00
parent a5d863c84c
commit a3dbef6bfe
6 changed files with 107 additions and 26 deletions

View File

@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
<org.koitharu.kotatsu.ui.reader.wetoon.WebtoonFrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.koitharu.kotatsu.ui.reader.wetoon.WebtoonImageView
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
android:id="@+id/ssiv"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
app:panEnabled="false" />
<ProgressBar
android:id="@+id/progressBar"
@@ -48,4 +50,4 @@
</LinearLayout>
</FrameLayout>
</org.koitharu.kotatsu.ui.reader.wetoon.WebtoonFrameLayout>