Description
Avatar image generator help to
generate the first letter avatar Image like gmails contact avatar. It takes the first letter of the persons name to generates a drawable that can be be set to an ImageView.
AvatarImageGenerator alternatives and similar packages
Based on the "ImageView Widget" category.
Alternatively, view AvatarImageGenerator alternatives based on common mentions on social networks and blogs.
-
subsampling-scale-image-view
Highly configurable, easily extendable view with pan and zoom gestures for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc. -
android-crop
Android library project for cropping images -
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 -
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
This is a simple Android View class which provides basic pinch and zoom capability for images. -
CircularImageView
Custom view for circular images in Android while maintaining the best draw performance -
SelectableRoundedImageView
Android ImageView that supports different radiuses on each corner. It also supports oval(and circle) shape and border. This would be especially useful for using inside CardView which should be rounded only top left and top right corners(Don't forget to call setPreventCornerOverlap(false) on your cardview). -
android-cropimage
CropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up). -
CropImageView
Widget allows you crop from whatever side in an ImageView. Currently Android only supports centerCrop type of cropping -
BadgedImageview
BadgedImageview allow you show a badge into a Imageview. -
ByakuGallery
ByakuGallery is an open source Android library that allows the visualization of large images with gesture capabilities. This lib is based on AOSP Camera2. -
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. -
Android Parallax Image View
Scroll parallax ImageView -
NoiseView
Android library written in kotlin that add noise effect to image.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of AvatarImageGenerator or a related project?
README
AvatarImageGenerator
Generate first letter avatar Image like gmail's contact avatar. It generates an drawable that can be be set to an ImageView.
Installation
Add the Following to your gradle file.
implementation 'com.first.avatargenerator:AvatarImageGenerator:VERSION'
Supports
Using glide or Picasso you can set the drawable to an imageView as a placeholder.
- Picasso
- Glide
Picasso
Picasso.get()
.load("https://brokenfortest")
.resize(50, 50)
.placeholder(AvatarGenerator.avatarImage(this, 200, AvatarConstants.CIRCLE, "Android"))
.into(imageView2)
Glide
Glide.with(this)
.load("http://brokenfortest")
.placeholder(AvatarGenerator.avatarImage(this, 200, AvatarConstants.CIRCLE, "Kotjav"))
.into(imageView3)
Without any Library
imageView.setImageDrawable(
AvatarGenerator.avatarImage(
this,
200,
AvatarConstants.RECTANGLE,
"Skyways"
)
Color Model The current version supports material colors A 400,700 and 900.
- COLOR400
- COLOR700
- COLOR900
Picasso.get()
.load("https://brokenfortest")
.resize(50, 50)
.placeholder(AvatarGenerator.avatarImage(this, 200, AvatarConstants.CIRCLE, "Android",AvatarConstants.COLOR900))
.into(imageView2)
Shape
- Circle
- Square
AvatarConstants.RECTANGLE,
AvatarConstants.CIRCLE