From cf98323bd250d9ee502f9e10c19459d62921d615 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 21 Feb 2019 10:59:19 +0100 Subject: [PATCH] move the gesture rotating option at the Deep zoomable section --- .../pro/activities/SettingsActivity.kt | 1 + app/src/main/res/layout/activity_settings.xml | 48 +++++++++---------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt index e6e2b07d3..bac8fc9b5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt @@ -410,6 +410,7 @@ class SettingsActivity : SimpleActivity() { } private fun updateDeepZoomToggleButtons() { + settings_allow_rotating_with_gestures_holder.beVisibleIf(config.allowZoomingImages) settings_show_highest_quality_holder.beVisibleIf(config.allowZoomingImages) settings_allow_one_to_one_zoom_holder.beVisibleIf(config.allowZoomingImages) } diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index f26ac6ac0..ae00c6d43 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -694,30 +694,6 @@ - - - - - - + + + + + +