Giter VIP home page Giter VIP logo

Comments (3)

chaychan avatar chaychan commented on August 22, 2024 2

@wenchaosong 嗯嗯,你说得对,我会继续完善的

from bottombarlayout.

chaychan avatar chaychan commented on August 22, 2024

@wenchaosong 兄弟,其实底部图标是处于居中的位置,文字在它的下方,你之所以出现这个问题是因为你的图标较大,建议你适当调小图标的宽高,这样图标一小就会有居中的效果,个人觉得并不需要设置padding,你可以看下demo的效果,图标是居中的,所以建议你缩小图标的宽高,放在xxhdpi文件夹的图标大小建议是96*96

from bottombarlayout.

wenchaosong avatar wenchaosong commented on August 22, 2024

@chaychan 你说的也是可行的方法,我上面说的你可以看作是一个建议,但是好的第三方库不是要求别人怎么样,而是自己有相应的接口去处理相应的问题,不可能每个人都去切 96*96 的图标.其实我已经改了一下你的库,就多加了一个图标的属性,花了几分钟,不管图标多大,重新设置想要多大就多大,跟文字大小一样可以设置

from bottombarlayout.

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.