Skip to content

Commit

Permalink
Try out the 'Works' section in code
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jan 24, 2023
1 parent 89dbe2c commit 613cde1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/info/touchimage/demo/TouchSyncActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 613cde1

Please sign in to comment.