Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Implementing a Zoom in and Out on a ImageView

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've looked around for libraries to use to zoom in and out of a image view but to no avail. Either they're too old and when I try to add the libaries to the grade files it complains. I might just find a way to code this functionality from scratch, but before I do that, does anyone else know of library?
 
Saloon Keeper
Posts: 25459
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you looked at this: https://www.section.io/engineering-education/implementing-custom-zoom-in-imageview-in-android/?
 
Tala Osman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:Have you looked at this: https://www.section.io/engineering-education/implementing-custom-zoom-in-imageview-in-android/?



Thanks for the reply. This is really useful but I am building my app with Java. If you have a link to a example with Java that would be great, and if not that is alright.
 
Marshal
Posts: 27211
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not Android then? If that's the case I can move the thread from the Android forum to some other forum, but which one? Is it Swing? JavaFX? Something which I'm ignorant of?
 
Tala Osman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Not Android then? If that's the case I can move the thread from the Android forum to some other forum, but which one? Is it Swing? JavaFX? Something which I'm ignorant of?



I'm building my android app on Android Studio with Java.
 
Tim Holloway
Saloon Keeper
Posts: 25459
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can freely mix Java and Kotlin in an Android App and in Android Studio. Android Studio even has an easy way to convert Java into Kotlin.

I'd recommend learning Kotlin, though, since that's the preferred language for Android these days. Someday I'll even learn Kotlin myself.

But a lot of Android help sites show both Kotlin and Java solutions. Check to make sure that there's not a link to a Java version of that page.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Tim, i was also looking at something similar. found it!
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic