SelectableRoundedImageView alternatives and similar packages
Based on the "ImageView Widget" category.
Alternatively, view SelectableRoundedImageView alternatives based on common mentions on social networks and blogs.
-
PhotoView
Implementation of ImageView for Android that supports zooming, by various touch gestures. -
CircleImageView
A circular ImageView for Android -
android-gpuimage
Android filters based on OpenGL (idea from GPUImage for iOS) -
subsampling-scale-image-view
Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc. -
android-crop
Android library project for cropping images -
cropper
Android widget for cropping and rotating an image. -
TouchImageView
Adds touch functionality to Android ImageView. -
TextDrawable
This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator. -
android-shape-imageview
Custom shaped android imageview components -
GestureViews
ImageView and FrameLayout with gestures control and position animation -
ImageViewZoom
Android ImageView widget with zoom and pan capabilities -
android-smart-image-view
Android ImageView replacement which allows image loading from URLs or contact address book, with caching -
gesture-imageview
Implements pinch-zoom, rotate, pan as an ImageView for Android 2.1+ -
GifImageView
Android ImageView that handles animated GIF images -
CircularImageView
Custom view for circular images in Android while maintaining the best draw performance -
SimpleTagImageView
ImageView with a tag on android -
cropimage
Replacement for deprecated official Android crop image function -
DrawerArrowDrawable
Visual back-port of the rotating drawer-to-arrow drawable from Android L -
MovingImageView
Custom ImageView for moving image around the screen (Android) -
android-cropimage
CropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up). -
CropImageView
Crop and Rounded Corners added to an ImageView. -
ImageGallery
A gallery used to host an array of images -
gif-movie-view
Android View widget for displaying GIF animations. -
PolygonImageView
Custom ImageView for android with polygon shape (Android) -
BadgedImageview
BadgedImageview allow you show a badge into a Imageview. -
ByakuGallery
An open source Android library that allows the visualization of large images with gesture capabilities -
AndroidImageCrop
How select and crop image on Android -
DexMovingImageView
DMIV aims to provide a flexible and customizable instrument for automated images moving on display. It provides scroll, gyroscope or time based moving. But you can create your own evaluator. -
Music Cover View
Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. :dvd::notes: -
WaveDrawable
Drawable animation inspired by Tinder. -
avatar-android
Rounded and Squared Avatar for Android Applications -
FlickableView
Flickable ImageView for Android. It's like a view of twitter's detail image. -
Android Parallax Image View
Create parallax and any other transformation effects on scrolling android ImageView -
AvatarImageGenerator
Android library to generate image avatar from the first letter of a username. Letter avatar like Gmail Android best practice -
NoiseView
Android library written in kotlin that add a noise effect to image.
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 SelectableRoundedImageView or a related project?
README
SelectableRoundedImageView
Note that this project is no longer maintained.
Android ImageView that supports different radii on each corner. It also supports oval(and circle) shape and border. This would be especially useful for being used inside CardView which should be rounded only top left and top right corners(Don't forget to call setPreventCornerOverlap(false) on your cardview).
I referred to the RoundedImageView, developed by Vince, in developing this new one, and I really appreciate him. Also, I wrote a short article about how I made this library and my thoughts on CardView, check my blog post.
Get the sample app on Play Store.
Note: When using with Glide, be sure to add asBitmap() chain, like below.
Glide.with(context)
.load(src)
.asBitmap()
.listener(l)
.into(imageView)
Note: When using with Android-Universal-Image-Loader, be sure to use SimpleBitmapDisplayer or FadeInBitmapDisplayer rather than RoundedBitmapDisplayer(or RoundedVignetteBitmapDisplayer) when building DisplayImageOptions. See below code.
options = new DisplayImageOptions.Builder()
.showImageOnLoading(R.drawable.ic_stub)
.showImageForEmptyUri(R.drawable.ic_empty)
.showImageOnFail(R.drawable.ic_error)
.cacheInMemory(true)
.cacheOnDisk(true)
.considerExifParams(true)
// .displayer(new RoundedBitmapDisplayer(20))
// DO NOT USE RoundedBitmapDisplayer. Use SimpleBitmapDisplayer!
.displayer(new SimpleBitmapDisplayer())
.build();
Usage
Define in xml:
<com.joooonho.SelectableRoundedImageView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/image"
android:src="@drawable/photo1"
android:scaleType="centerCrop"
app:sriv_left_top_corner_radius="16dip"
app:sriv_right_top_corner_radius="0dip"
app:sriv_left_bottom_corner_radius="48dip"
app:sriv_right_bottom_corner_radius="16dip"
app:sriv_border_width="2dip"
app:sriv_border_color="#008fea"
app:sriv_oval="true" />
Or in code:
SelectableRoundedImageView sriv = new SelectableRoundedImageView(context);
sriv.setScaleType(ScaleType.CENTER_CROP);
sriv.setCornerRadiiDP(4, 4, 0, 0);
sriv.setBorderWidthDP(4);
sriv.setBorderColor(Color.BLUE);
sriv.setImageDrawable(drawable);
sriv.setOval(true);
Including In Your Project
If you are using Android Studio, SelectableRoundedImageView is available through Gradle.
dependencies {
compile 'com.joooonho:selectableroundedimageview:1.0.1'
}
Also SelectableRoundedImageView is presented as a library project. You can include this project by referencing it as a library project in Eclipse or ant(A standalone JAR is not possible due to the custom attributes).
Developed By
- Joonho Kim - [email protected]
License
Copyright 2014 Joonho Kim
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the SelectableRoundedImageView README section above
are relevant to that project's source code only.