Amterson / Alginproject
Licence: mit
模仿微信读书左右对齐的文字效果
Stars: ✭ 251
Projects that are alternatives of or similar to Alginproject
Vectorcompattextview
One VectorCompatTextView suits for hundreds of CompoundDrawable style. 一个库,满足CompoundDrawable的百变风格。
Stars: ✭ 147 (-41.43%)
Mutual labels: textview
Fading Text View
A TextView that changes its content automatically every few seconds
Stars: ✭ 1,691 (+573.71%)
Mutual labels: textview
Fstextview
继承于UITextView的自定义TextView, 带placeholder和可限制最大输入字符数, 已适配横竖屏切换.
Stars: ✭ 140 (-44.22%)
Mutual labels: textview
Android Lib Verticalmarqueetextview
A custom TextView with vertical marquee effect
Stars: ✭ 163 (-35.06%)
Mutual labels: textview
Drawabletextview
自定义控件 :drawable 跟随TextView居中 The drawable follows the text centered
Stars: ✭ 124 (-50.6%)
Mutual labels: textview
Stringformatter
Simple Text Formetter (Credit Card Number, Phone Number, Serial Number etc.) Can be used in all text inputs according to the format pattern. If desired, large minor character restrictions can be made in the format pattern.
Stars: ✭ 231 (-7.97%)
Mutual labels: textview
Toggleedittextview
Easily switch between EditText and TextView seamlessly.
Stars: ✭ 146 (-41.83%)
Mutual labels: textview
Rskplaceholdertextview
A light-weight UITextView subclass that adds support for placeholder.
Stars: ✭ 192 (-23.51%)
Mutual labels: textview
Collapsibletextview
show or hide part of text only in a TextView
Stars: ✭ 135 (-46.22%)
Mutual labels: textview
Sharpview
安卓带有尖角气泡的控件(TextView,ImageView,EditText,Layout),支持渐变色,圆角等自定义属性
Stars: ✭ 137 (-45.42%)
Mutual labels: textview
Supertextview
🎀 SuperTextView for Android 是一个在TextView的基础上扩展了几种动画效果的控件。
Stars: ✭ 165 (-34.26%)
Mutual labels: textview
Blitz
Android Library: Set self-updating string with relative time in TextView (e.g. 5 minutes ago)
Stars: ✭ 217 (-13.55%)
Mutual labels: textview
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-37.05%)
Mutual labels: textview
Compoundicontextview
An android library that is able to set a vector drawable at text view pre-Lollipop.
Stars: ✭ 241 (-3.98%)
Mutual labels: textview
1.非中文单词不够一行会自动截断,用符号“-”连接起来;
2.适配布局的方向,使用原生TextView的属性:android:gravity=""和android:textAlignment="",gravity的优先级较高,如果同时设置这两个属性则以textAlignment的属性为准;
<com.example.testdemo1.XQJustifyTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:textSize="16sp"
android:gravity="start"
android:textAlignment="textStart"/>
3.英文情况下使用元音字母进行截断,如果没有找到元音字母则使用默认规则截断;
4.依赖Library
在主项目app的build.gradle中依赖
dependencies {
...
implementation 'com.text:alginlib:1.0.1'
}
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].