Giter VIP home page Giter VIP logo

Comments (10)

qiushui95 avatar qiushui95 commented on May 13, 2024

距离不是有个drawablepadding?

from rtextview.

luzheng611 avatar luzheng611 commented on May 13, 2024

对,感觉加上drawablePadding就完美了

from rtextview.

RuffianZhong avatar RuffianZhong commented on May 13, 2024

RTextView继承TextView的,TextView本身自带drawablePadding属性,直接用就好啦

from rtextview.

kokobebekoko avatar kokobebekoko commented on May 13, 2024

RTextView继承TextView的,TextView本身自带drawablePadding属性,直接用就好啦

我想在RTextView使用渐变的背景该怎么使用?

from rtextview.

RuffianZhong avatar RuffianZhong commented on May 13, 2024

@kokobebekoko
RTextView 没有渐变的功能,新功能都在新项目 RWidgetHelper

from rtextview.

kokobebekoko avatar kokobebekoko commented on May 13, 2024

RWidgetHelper

RWidgetHelper有渐变功能吗

from rtextview.

RuffianZhong avatar RuffianZhong commented on May 13, 2024

@kokobebekoko 有的

from rtextview.

kokobebekoko avatar kokobebekoko commented on May 13, 2024

@kokobebekoko 有的

我看了下RWidgetHelper的RTextView 并没有加渐变相关功能啊

from rtextview.

RuffianZhong avatar RuffianZhong commented on May 13, 2024

@kokobebekoko
你看看 readMe 后面一点,有说明,渐变适用于所有View(除了ImageView)
用法很简单:
background_xxx:设置1个值表示普通背景色,2个以上就自动呈现渐变效果。仔细看看下文档

from rtextview.

RuffianZhong avatar RuffianZhong commented on May 13, 2024

@abings
久等了,在新项目 RWidgetHelper 1.0.5版本增加了
图片和文本一起居中功能 然后设置drawablePadding 可以达到自己设置图标和文本之间的任意间距

from rtextview.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.