Android widget for gallery, using viewpager. Allow pinch zoom and drag for images by url.
AndroidTouchGallery is hosted in the following web site
https://github.com/Dreddik/AndroidTouchGallery
If you think the Android project AndroidTouchGallery listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of AndroidTouchGallery.
Item | Value |
---|---|
Java File Count | 15 |
Supported screen sizes | [ldpi, mdpi, hdpi, xhdpi] |
Target SDK Version | 17 |
Minimum SDK Version | 4 |
Activity Count | 3 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.INTERNET |
Asset File Names | assets\1.jpg assets\2.jpg assets\3.jpg assets\4.jpg assets\5.jpg |
There are 1 image files in AndroidTouchGallery. The names of the image files are listed as follows.
no_photo.png
The following screenshort is generated from the image listed above.
AndroidTouchGallery has the following Java source files.
ru.truba.touchgallery.GalleryFileActivity.java ru.truba.touchgallery.GalleryUrlActivity.java ru.truba.touchgallery.GalleryWidget.BasePagerAdapter.java ru.truba.touchgallery.GalleryWidget.FilePagerAdapter.java ru.truba.touchgallery.GalleryWidget.GalleryViewPager.java ru.truba.touchgallery.GalleryWidget.InfinityFilePagerAdapter.java ru.truba.touchgallery.GalleryWidget.InfinityUrlAdapter.java ru.truba.touchgallery.GalleryWidget.UrlPagerAdapter.java ru.truba.touchgallery.MainActivity.java ru.truba.touchgallery.TouchView.EclairMotionEvent.java ru.truba.touchgallery.TouchView.FileTouchImageView.java ru.truba.touchgallery.TouchView.InputStreamWrapper.java ru.truba.touchgallery.TouchView.TouchImageView.java ru.truba.touchgallery.TouchView.UrlTouchImageView.java ru.truba.touchgallery.TouchView.WrapMotionEvent.java