Description
Show image as a popup on a click event or any event. Simply set the image as drawable and thats it!!!. And also you can set width, height & background color as you want.
Android Image Popup alternatives and similar packages
Based on the "Images" category.
Alternatively, view Android Image Popup alternatives based on common mentions on social networks and blogs.
-
FrescoImageViewer
Customizable Android full screen image viewer for Fresco library supporting "pinch to zoom" and "swipe to dismiss" gestures. Made by Stfalcon -
Crescento
Add curve at bottom of image views and relative layouts. -
Dali
Dali is an image blur library for Android. It contains several modules for static blurring, live blurring and animations. -
Louvre
A small customizable library useful to handle an gallery image pick action built-in your app. :sunrise_over_mountains::stars: -
ChiliPhotoPicker
Photo picker library for android. Let's you pick photos directly from files, or navigate to camera or gallery. -
Awesome Image Picker
Awesome Image Picker library will pick images/gifs with beautiful interface. Supports image or gif, Single and Multiple Image selection. -
Image Steganography
✔️ Hide a secret message in an image -
AutoImageFlipper
Auto Scrolling Image Pager with Pager Indicator and Text -
ImageSliderWithSwipes
This is an Image slider with swipes, Here we used Volley to Image load URL from JSON! Here we make it a very easy way to load images from the Internet and We customized the description font style(OpenSans). -
Image Save and Share
Library to save image locally and shows options to open and share ! -
RoundedImageView-Library
To set single or multiple corners on Image Views. -
ImageList-Lib
Android library for showing images side by side. -
Android ImageView to include pinch zooming, panning, fling and double tap zoom.
Android ImageView to include pinch zooming, panning, fling and double tap zoom.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Android Image Popup or a related project?
README
Android Image Popup

Show image as a popup on a click event or any event. Simply set the image as drawable and thats it!!!. And also you can set width, height & background color as you want.
Preview
[Demo Preview](preview.gif? "Demo Preview")
Usage
Step 1. Add the JitPack repository to your build file:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.chathuralakmal:AndroidImagePopup:1.2.2'
}
Implementation
Create instance of the popup class and thats all !!
ImagePopup imagePopup = new ImagePopup(this);
Java
/** Set popup height, width & background color as you need or just leave default settings **/
Picasso.setSingletonInstance(new Picasso.Builder(this).build()); // Only needed if you are using Picasso
final ImagePopup imagePopup = new ImagePopup(this);
imagePopup.setWindowHeight(800); // Optional
imagePopup.setWindowWidth(800); // Optional
imagePopup.setBackgroundColor(Color.BLACK); // Optional
imagePopup.setFullScreen(true); // Optional
imagePopup.setHideCloseIcon(true); // Optional
imagePopup.setImageOnClickClose(true); // Optional
ImageView imageView = (ImageView) findViewById(R.id.imageView);
imagePopup.initiatePopup(imageView.getDrawable()); // Load Image from Drawable
imageView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
/** Initiate Popup view **/
imagePopup.viewPopup();
}
});
Kotlin
val imagePopup = ImagePopup(myContext)
imagePopup.initiatePopup(imageView.drawable) // Load Image from Drawable
imageView.setOnClickListener {
imagePopup.viewPopup();
}
Support using Picasso
// supprot string url for image
initiatePopupWithPicasso(imageUrl);
// supprot Uri for image
initiatePopupWithPicasso(imageUri);
// supprot File for image
initiatePopupWithPicasso(imageFile);
Support using Glide
// supprot string url for image
initiatePopupWithGlide(imageUrl);
Credits
Contribute
Let's make this grow. Contributions are always welcome!
License
The MIT License
2017 - 2019
*Note that all licence references and agreements mentioned in the Android Image Popup README section above
are relevant to that project's source code only.