Menu
  • HOME
  • TAGS

Android using ION with PhotoView Library

android,imageview,ion,photoviewer

I still don't quite understand why it doesn't work, but I was able to find an answer, where instead of adding the dependency of the library, I just found the jar file online and added that instead, now everything is working perfect. Library Link

PhotoView library and image set as wallpaper

java,android,wallpaper,photoviewer

You can use FrameLayout: <FrameLayout...> <com.ex.paper.HackyViewPager/> <Button/> <FrameLayout/> In onCreate: setContentView(your.layout.with.frameLayout); mViewPager = (HackyViewPager) findViewById(R.id.view_pager); mButton = (Button) findViewById(R.id.button); mButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { wallpaper.setResource(sDrawables[mViewPager.getCurrentItem()]); } }); } ...

How to override doubletap of PhotoView

android,double,tap,photoviewer

found solution by defauld MaximumScale is < 4, so I add: mAttacher.setMaximumScale(5f); ...