Comments (10)
距离不是有个drawablepadding?
from rtextview.
对,感觉加上drawablePadding就完美了
from rtextview.
RTextView继承TextView的,TextView本身自带drawablePadding属性,直接用就好啦
from rtextview.
RTextView继承TextView的,TextView本身自带drawablePadding属性,直接用就好啦
我想在RTextView使用渐变的背景该怎么使用?
from rtextview.
@kokobebekoko
RTextView 没有渐变的功能,新功能都在新项目 RWidgetHelper
from rtextview.
RWidgetHelper
RWidgetHelper有渐变功能吗
from rtextview.
from rtextview.
我看了下RWidgetHelper的RTextView 并没有加渐变相关功能啊
from rtextview.
@kokobebekoko
你看看 readMe 后面一点,有说明,渐变适用于所有View(除了ImageView)
用法很简单:
background_xxx:设置1个值表示普通背景色,2个以上就自动呈现渐变效果。仔细看看下文档
from rtextview.
@abings
久等了,在新项目 RWidgetHelper 1.0.5版本增加了
图片和文本一起居中功能 然后设置drawablePadding 可以达到自己设置图标和文本之间的任意间距
from rtextview.
Related Issues (15)
- 很不错 给你一个star
- need to updated: extends TextView Should change to AppCompatAutoCompleteTextView HOT 3
- 假如我要两种状态都能点击就改变状态该怎么做 HOT 5
- 圆形时能否自适应圆角大小呢 HOT 2
- 控件足够小的时候,文字不能居中 HOT 1
- 在RecycleView性能怎么样
- 加个slected状态 HOT 1
- 代码设置RTextView出错 HOT 1
- 修改建议 HOT 1
- 设置了background背景之后,圆角什么都无效了? HOT 1
- 能设置边框阴影吗? HOT 2
- icon_src_unable HOT 5
- 又有建议 HOT 3
- background_pressed 设置透明度没效果 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtextview.