Description
Rounded ImageView Android Library, to set single or multiple corners on imageview.
RoundedImageView-Library alternatives and similar packages
Based on the "Images" category.
Alternatively, view RoundedImageView-Library 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. -
Android-Image-Filter
some android image filters -
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. -
Image Steganography
✔️ Hide a secret message in an image -
Awesome Image Picker
Awesome Image Picker library will pick images/gifs with beautiful interface. Supports image or gif, Single and Multiple Image selection. -
AutoImageFlipper
Auto Scrolling Image Pager with Pager Indicator and Text -
Android Image Popup
Simple android image popup Library -
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 ! -
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 backend cloud platform
* 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 RoundedImageView-Library or a related project?
Popular Comparisons
-
RoundedImageView-LibraryvsAndroid ImageView to include pinch zooming, panning, fling and double tap zoom.
-
RoundedImageView-LibraryvsFrescoImageViewer
-
FrescoImageViewervsAndroid ImageView to include pinch zooming, panning, fling and double tap zoom.
-
ImageSliderWithSwipesvsAndroid Image Popup
-
FrescoImageViewervsAndroid Image Popup
README
RoundedImageView-Library
Rounded ImageView Android Library, to set single or multiple corners on imageview.
Screenshot
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.DushyantMainwal:RoundedImageView-Library:0.3.0'
}
# Implementation
XML Implementation:
<com.dushyant.roundedimageviewlibrary.RoundedImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:scaleType="centerCrop"
app:border="true"
app:borderColor="#089"
app:borderWidth="10dp"
app:canvasPadding="10"
app:imagePadding="10"
app:cornerRadius="30"
app:src="@drawable/rdjimage"
app:cornerType="bottomLeft"/>
Java Implementation:
RoundedImageView customImageView = findViewById(R.id.image_view);
customImageView.setImageResource(R.drawable.rdjimage);
customImageView.setImageScaleType(RoundedImageView.ScaleType.CENTRE_CROP);
//For Single Corner
customImageView.setCornerType(RoundedImageView.CornerType.BOTTOM_RIGHT_CORNER);
customImageView.setImagePadding(20);
customImageView.setCanvasPadding(50);
customImageView.setBorder(true);
customImageView.setBorderColor(Color.DKGRAY);
customImageView.setBorderWidth(40);
customImageView.setCornerRadius(30);
//For Multiple Corners
List<RoundedImageView.CornerType> cornerTypes = new ArrayList<>();
cornerTypes.add(RoundedImageView.CornerType.TOP_LEFT_CORNER);
cornerTypes.add(RoundedImageView.CornerType.TOP_RIGHT_CORNER);
customImageView.setCornerTypeList(cornerTypes);
Picasso Implementation:
Picasso.with(this).load("https://www.gstatic.com/webp/gallery/5.sm.jpg").into(customImageView);
Glide Implementation:
Glide.with(this)
.load("https://www.w3schools.com/w3css/img_lights.jpg")
.asBitmap()
.into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, GlideAnimation<? super Bitmap> glideAnimation) {
customImageView.setImageBitmap(resource);
}
});
//With Drawable
Glide.with(this)
.load("https://www.w3schools.com/w3css/img_lights.jpg")
.into(new SimpleTarget<GlideDrawable>() {
@Override
public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> glideAnimation) {
customImageView.setImageDrawable(resource);
}
});
Licence
Copyright (c) 2016 Dushyant Mainwal
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*Note that all licence references and agreements mentioned in the RoundedImageView-Library README section above
are relevant to that project's source code only.