Code Monkey home page Code Monkey logo

Comments (6)

qstumn avatar qstumn commented on June 29, 2024

你说的mDefalutRadius具体是指哪个数值?在源码里唯一写死的7dp的地方是在拖拽过程中,拖拽原始位置的初始圆半径,这个会随着拖的距离增加而变得越来越小直到断开,你是觉得这个数值太大了么?

from badgeview.

Luolc avatar Luolc commented on June 29, 2024

就是感觉目前的圆点有点大了。期望有像微信新消息那种大小的。现在有设置大小的接口嘛?我目前没发现嗯~

from badgeview.

qstumn avatar qstumn commented on June 29, 2024

Badge的大小是由内部的文字大小+内边距组成的,对应 setBadgeTextSize和setBadgePadding,你可以适当降低其中一个或者两个都调低
如果你是指没有文字的dot,它的大小就只受内边距控制

from badgeview.

Luolc avatar Luolc commented on June 29, 2024

哦了解,谢谢啦~ 如果可以调的话就没问题啦~ 这个issue可以关了~

from badgeview.

qstumn avatar qstumn commented on June 29, 2024

你可以下载demo操作试试看,所有的设置参数demo中都有例子,readme里也有方法说明

from badgeview.

Luolc avatar Luolc commented on June 29, 2024

了解~ demo刚clone的时候没有对应的build tool就没跑~ 待会试一下

from badgeview.

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.