All Projects → stfalcon-studio → Multiimageview

stfalcon-studio / Multiimageview

Android library to display a few images in one ImageView like avatar of group chat. Made by Stfalcon

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Multiimageview

svelte-avatar
An avatar component for Svelte
Stars: ✭ 12 (-97.29%)
Mutual labels:  avatar
github-avatar-generator
💕 A github-style avatar generator, powered by Java
Stars: ✭ 35 (-92.1%)
Mutual labels:  avatar
Php Initial Avatar Generator
Generate avatars with initials from user names.
Stars: ✭ 302 (-31.83%)
Mutual labels:  avatar
monsterid
MonsterID adaptation for Composer and modern PHP versions
Stars: ✭ 20 (-95.49%)
Mutual labels:  avatar
pokemon
ascii database of pokemon... in python!
Stars: ✭ 49 (-88.94%)
Mutual labels:  avatar
Portfolio
👤 Automatically generate a beautiful, responsive, static-site to display your GitHub projects.
Stars: ✭ 54 (-87.81%)
Mutual labels:  avatar
fangpenlin-avataaars-generator-angular
Angular implementation of @fangpenlin's avataaars-generator
Stars: ✭ 20 (-95.49%)
Mutual labels:  avatar
Compositionavatar
Android composition avatar. 仿QQ讨论组头像
Stars: ✭ 371 (-16.25%)
Mutual labels:  avatar
devBanner
Create your own devRant banner
Stars: ✭ 45 (-89.84%)
Mutual labels:  avatar
Animoji
Animoji Generator 🦊
Stars: ✭ 277 (-37.47%)
Mutual labels:  avatar
boring-avatars
Boring avatars is a tiny JavaScript React library that generates custom, SVG-based avatars from any username and color palette.
Stars: ✭ 3,582 (+708.58%)
Mutual labels:  avatar
AvatarGAN
Generate Cartoon Images using Generative Adversarial Network
Stars: ✭ 24 (-94.58%)
Mutual labels:  avatar
mk-letter-avatar
🅰 WordPress 字母头像插件(纯前端实现版) WordPress letter avatar plugin
Stars: ✭ 42 (-90.52%)
Mutual labels:  avatar
awesome-identicons
A curated list of "Visual Hashs" (Identicon, Avatar, Fractal, RandomArt and general Hash Visualization)
Stars: ✭ 156 (-64.79%)
Mutual labels:  avatar
Generate Avatar
Generate your 100% fingerprinted example avatar from id, email, username etc.
Stars: ✭ 307 (-30.7%)
Mutual labels:  avatar
vue-avatar-editor
Avatar editor for Vue.js. Demo on : https://fpluquet.github.io/vue-avatar-editor/
Stars: ✭ 85 (-80.81%)
Mutual labels:  avatar
avatars-io
👤 Wanna get a social media avatar? Avatars-io makes it easy for you. Just give a username then get an avatar!
Stars: ✭ 13 (-97.07%)
Mutual labels:  avatar
Gfriends
媒体服务器演员头像仓库
Stars: ✭ 400 (-9.71%)
Mutual labels:  avatar
React Avatar
👤 Load, crop & preview avatar with React
Stars: ✭ 361 (-18.51%)
Mutual labels:  avatar
Material Design Avatars
Create material deisgn avatars for users just like Google Messager. It may not be unique but looks better than Identicon or Gravatar.
Stars: ✭ 266 (-39.95%)
Mutual labels:  avatar

MultiImageView

codebeat badge

Library for display a few images in one MultiImageView like avatar of group chat

alt tag

Who we are

Need iOS and Android apps, MVP development or prototyping? Contact us via [email protected]. We develop software since 2009, and we're known experts in this field. Check out our portfolio and see more libraries from stfalcon-studio.

Download

  1. Add jitpack to the root build.gradle file of your project at the end of repositories.
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
dependencies {
  ...
  implementation "com.github.stfalcon-studio:StfalconFixturer-android:[last_version]"
}  

Usage

Add MultiImageView to layout xml file

<com.stfalcon.multiimageview.MultiImageView
        android:id="@+id/iv"
        android:layout_width="100dp"
        android:layout_height="100dp"/>

In java class find view by id

final MultiImageView multiImageView = (MultiImageView) findViewById(R.id.iv);

For adding image to MultiImageView use method addImage(Bitmap bitmap). For exapple:

multiImageView.addImage(BitmapFactory.decodeResource(getResources(), R.drawable.avatar1));

For setting shape of MultiImageView use method setShape(MultiImageView.Shape shape).

multiImageView.setShape(MultiImageView.Shape.RECTANGLE);//Rectangle with round corners
multiImageView.setShape(MultiImageView.Shape.CIRCLE);//Circle
multiImageView.setShape(MultiImageView.Shape.NONE);//Without shape

If you choose rectangle shape you can set corner radius

multiImageView.setRectCorners(50);

To clear MultiImageView use:

multiImageView.clear();

Take a look at the sample project for more information

License

Copyright 2017 stfalcon.com

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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].