Giter VIP home page Giter VIP logo

Comments (4)

saiwu-bigkoo avatar saiwu-bigkoo commented on June 12, 2024

你可以通过重写xml和drawable里面相同名字的资源就可以覆盖掉原本的效果了。
在你的dimen xml 中加入 下面的相同名字 数值来覆盖

<dimen name="margin_alert_left_right">40dp</dimen>
<dimen name="margin_actionsheet_left_right">10dp</dimen>

另外 接口提供setMarginBottom 也可以修改宽度。
背景同理加入名字相同的xml文件

from android-alertview.

duanxinyuan avatar duanxinyuan commented on June 12, 2024

我想问一下,如果要讲取消两个字的加粗效果去掉,是不是只能重写呢

from android-alertview.

saiwu-bigkoo avatar saiwu-bigkoo commented on June 12, 2024

其实也可以通过重写同名xml达到目的

from android-alertview.

duanxinyuan avatar duanxinyuan commented on June 12, 2024

actionsheet可以,但是alertview里加了这个'tvAlert.setTypeface(Typeface.DEFAULT_BOLD);'……

from android-alertview.

Related Issues (20)

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.