diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/ImageActivity.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/ImageActivity.kt
index 16db2e8..5444485 100644
--- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/ImageActivity.kt
+++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/ImageActivity.kt
@@ -19,6 +19,7 @@ class ImageActivity : AppCompatActivity() {
super.onCreate(savedInstanceState)
binding = ActivityImageBinding.inflate(layoutInflater)
val view = binding.root
+ binding.pager.requestDisallowInterceptTouchEvent(true)
setContentView(view)
diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ImageFragment.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ImageFragment.kt
index 7b46b8c..09cecd0 100644
--- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ImageFragment.kt
+++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ImageFragment.kt
@@ -27,6 +27,11 @@ class ImageFragment : Fragment() {
_binding = FragmentImageBinding.inflate(inflater, container, false)
val view = binding?.root
+ binding?.swipeRefreshLayout?.setProgressViewEndTarget(false, 0)
+ binding?.swipeRefreshLayout?.setOnRefreshListener {
+ activity?.finish()
+ }
+
binding!!.photoView.visibility = View.VISIBLE
Glide.with(requireActivity())
.asBitmap()
diff --git a/androidApp/src/main/res/layout/fragment_image.xml b/androidApp/src/main/res/layout/fragment_image.xml
index 3bd2094..da5fc86 100644
--- a/androidApp/src/main/res/layout/fragment_image.xml
+++ b/androidApp/src/main/res/layout/fragment_image.xml
@@ -4,13 +4,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
+ android:layout_height="match_parent">
+
+
+
\ No newline at end of file