All Projects → ruijun → Characterview

ruijun / Characterview

Licence: other
根据名字显示字符的View,类似Android5.0, Gmail风格联系人头像

Programming Languages

java
68154 projects - #9 most used programming language

Characterview

Maven Central License

RoundedLetterView上进行扩展改造。
根据名字显示字符的View,类似Android5.0, Gmail风格联系人头像

V1.0

  • 支持圆形和矩形View
  • 支持边框显示
  • 支持定义显示字符的数目

Gradle

dependencies {
   compile 'com.github.ruijun:characterview:1.0'
}

Maven

<dependency>
    <groupId>com.github.ruijun</groupId>
    <artifactId>characterview</artifactId>
    <version>1.0</version>
</dependency>

JitPack

step1: Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

step2: Add the dependency

dependencies {
	        compile 'com.github.ruijun:Characterview:v1.0'
	}	

Screenshot

矩形 圆形 圆形带边框

Thanks

RoundedLetterView

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].