niniloveyou / Drawabletextview
Licence: apache-2.0
自定义控件 :drawable 跟随TextView居中 The drawable follows the text centered
Stars: ✭ 124
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Drawabletextview
Spedittool
An efficient and scalable library for inputing and displaying gif or @mention on graph-text mixed TextView/EditText
Stars: ✭ 292 (+135.48%)
Mutual labels: textview, drawable
Ariana
Provide Multiple Gradients in ImageViews and Texts. Integrate with ViewPager to change colors dynamically.
Stars: ✭ 74 (-40.32%)
Mutual labels: textview, drawable
Fole
Fole is a simple library to collapse and expand a TextView.
Stars: ✭ 67 (-45.97%)
Mutual labels: textview
Pull To Refresh
ESPullToRefresh is developed and maintained by Vincent Li. If you have any questions or issues in using ESPullToRefresh, welcome to issue.
If you want to contribute to ESPullToRefresh, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 1,591 (+1183.06%)
Mutual labels: textview
Drawablecolorchange
Android Library to dynamically change color of drawable.
Stars: ✭ 101 (-18.55%)
Mutual labels: drawable
Android Gif Drawable
Views and Drawable for displaying animated GIFs on Android
Stars: ✭ 8,987 (+7147.58%)
Mutual labels: drawable
Youtube Play Icon
Material style morphing play-pause drawable for Android
Stars: ✭ 57 (-54.03%)
Mutual labels: drawable
Android Textview Linkbuilder
Insanely easy way to define clickable links within a TextView.
Stars: ✭ 1,549 (+1149.19%)
Mutual labels: textview
Materialbadgetextview
As the name describes, this is an Android library that you can use to show new messages badge and new features badge.
Stars: ✭ 1,331 (+973.39%)
Mutual labels: textview
Leotextview
🐬A high-performance rich editor develop with swift on iOS platform, based on TextKit.
Stars: ✭ 87 (-29.84%)
Mutual labels: textview
Pincodeinputview
A input text view for entering pin code.
Stars: ✭ 108 (-12.9%)
Mutual labels: textview
Android Animated Icons
How to improve the user experience using animated icons with vector drawables on Android
Stars: ✭ 117 (-5.65%)
Mutual labels: drawable
Android Material Design In Practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (-45.97%)
Mutual labels: textview
Nextgrowingtextview
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
Stars: ✭ 1,540 (+1141.94%)
Mutual labels: textview
DrawableTextView
自定义控件 :drawable 跟随TextView居中
The drawable follows the text centered
截图:
###Manually
你只需要这添加这两个文件就可以使用了!
- deadline/DrawableTextView.java
- res/values/attrs.xml
###代码中这样设置即可
drawable = ContextCompat.getDrawable(getContext(), R.mipmap.xxx);
setDrawable(DrawableTextView.LEFT, drawable, width, height);
Customizable attributes
xml中定义了以下属性
- Define
xmlns:app="http://schemas.android.com/apk/res-auto"
on root of your xml file
<deadline.DrawableTextView
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:drawablePadding="5dp"
app:bottomDrawable="@mipmap/camera"
app:bottomDrawableHeight="20dp"
app:bottomDrawableWidth="20dp"
app:leftDrawable="@mipmap/camera"
app:leftDrawableHeight="20dp"
app:leftDrawableWidth="20dp"
app:rightDrawable="@mipmap/camera"
app:rightDrawableHeight="20dp"
app:rightDrawableWidth="20dp"
app:topDrawable="@mipmap/camera"
app:topDrawableHeight="20dp"
app:topDrawableWidth="20dp"/>
Developed By
deadline
Blog : http://www.jianshu.com/users/25e80ace21b8/latest_articles
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].