• 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
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

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: 27478
195
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: 27987
94
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: 27478
195
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!
 
Slime does not pay. Always keep your tiny ad dry.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic