SuperTextView
SuperTextView copied to clipboard
Hi,Developer,Welcome to use SuperTextView !
只能使用applicationContext,对于使用glide很不友好
图片和文本作为一个整体居中,应该是最常用的,原生又支持不了的功能了吧,怎么没去实现这个?
意见改进
textStroke模式的时候,paint修改设置加入圆角描边画笔选项。 去除setFakeBoldText(true)设置,因为在textStroke模式下,会影响文本上下对不齐。 ``` getPaint().setStrokeJoin(Paint.Join.ROUND); getPaint().setStrokeCap(Paint.Cap.ROUND); ````
大概是实现选地点,显示“北京\\/”的这个感觉,要在右边显示下箭头。 通过阅读源码我反直觉地只能给state_drawable_padding_left输入负值来达成应该有的state_drawable_padding_right的效果。 是不是应该加上缺失的state_drawable_padding_right和state_drawable_padding_bottom呢
细节建议
按压效果替代了用xml写的selector 那xml中的exitFadeDuration等这些功能能否加上呢?
只需setBgColor或者setBgColorAttr方法就可以设置按钮不同状态下的颜色值了,Stroke也一样
implementation 'com.github.chenBingX:SuperTextView:v3.2.6.99'  我没有设置字体颜色,为什么他会是白色的