aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_image_textless.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-01 23:55:47 -0700
committerGitHub <noreply@github.com>2019-07-01 23:55:47 -0700
commit312f956b8a50f48075ebfee580dd4545e1c630f3 (patch)
tree137ba0b497fe61b89b49030cef2743b92c300676 /app/src/main/res/layout/activity_image_textless.xml
parent39babe71b65cdad17b3d055f147d95e52a811e4a (diff)
parent03e16c98c7b7bf69a57d0cb3e19df807f3b355fa (diff)
downloadfrost-312f956b8a50f48075ebfee580dd4545e1c630f3.tar.gz
frost-312f956b8a50f48075ebfee580dd4545e1c630f3.tar.bz2
frost-312f956b8a50f48075ebfee580dd4545e1c630f3.zip
Merge pull request #1459 from AllanWang/image-swipe
Image swipe
Diffstat (limited to 'app/src/main/res/layout/activity_image_textless.xml')
-rw-r--r--app/src/main/res/layout/activity_image_textless.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_image_textless.xml b/app/src/main/res/layout/activity_image_textless.xml
index e047b23d..41fd43a2 100644
--- a/app/src/main/res/layout/activity_image_textless.xml
+++ b/app/src/main/res/layout/activity_image_textless.xml
@@ -11,13 +11,20 @@
android:layout_height="wrap_content"
android:layout_gravity="center" />
- <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
- android:id="@+id/image_photo"
+ <com.pitchedapps.frost.views.DragFrame
+ android:id="@+id/image_drag"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:alpha="0"
- android:scaleX="0.9"
- android:scaleY="0.9" />
+ android:layout_height="match_parent">
+
+ <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
+ android:id="@+id/image_photo"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:alpha="0"
+ android:scaleX="0.9"
+ android:scaleY="0.9" />
+
+ </com.pitchedapps.frost.views.DragFrame>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/image_fab"