From 91c86eeb3cb5163c5753c43825e45ce717ddcfab Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Fri, 17 Jun 2022 08:35:44 +0200 Subject: [PATCH] Try out the 'Works' section in code --- app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt b/app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt index 616c79c0..e62e712a 100644 --- a/app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt +++ b/app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt @@ -27,11 +27,11 @@ class TouchSyncActivity : AppCompatActivity() { }) // Works - // val img = getBitmap(this, R.drawable.ic_baseline_aspect_ratio_24) + val img = getBitmap(this, R.drawable.ic_baseline_aspect_ratio_24) /** HERE IS THE PROBLEM **/ // Does not work (after zooming in, dinosaur head is unreachable) - val img = getBitmap(this, R.drawable.corgosaurus) +// val img = getBitmap(this, R.drawable.corgosaurus) binding.touchImage2.setImageBitmap(img) // Also does not work (after zooming in, dinosaur head is unreachable)