Giter VIP home page Giter VIP logo

Comments (8)

op123355569 avatar op123355569 commented on May 27, 2024

我自己Fork 0.6.1 了一下,然后把设置状态栏部分代码里所有相关默认设置虚拟工具栏的代码注释掉的话就正常了

from ultimatebarx.

Zackratos avatar Zackratos commented on May 27, 2024

Activity 的底部会被遮盖吗

from ultimatebarx.

op123355569 avatar op123355569 commented on May 27, 2024

不会

from ultimatebarx.

Zackratos avatar Zackratos commented on May 27, 2024

可以把你的 demo 放在你 fork 的项目里面吗,我看一下

from ultimatebarx.

op123355569 avatar op123355569 commented on May 27, 2024

我开了一个Demo UxDemo

from ultimatebarx.

Zackratos avatar Zackratos commented on May 27, 2024

找到原因了,因为我给 ActivitycontentView 设置了 bottomPadding,高度为导航栏的高度,然后 BasePopup 在底部弹出 PopupWindow 的时候,就是以 contentView 为基准的,所以就出现了你看到的问题,理论上来说,可以通过把 bottomPadding 改为 bottomMargin 或者把 contentView 改为 decorView 的方法来解决,但是如果为了解决跟其他框架的冲突而修改原来的逻辑不太合适,我再想一下有没有其他的方法解决这个问题吧

from ultimatebarx.

op123355569 avatar op123355569 commented on May 27, 2024

好的,谢谢大神解答

from ultimatebarx.

Zackratos avatar Zackratos commented on May 27, 2024

@op123355569 如果你只需要设置状态栏而不需要设置导航栏的话,更新到 0.8.0 版本,使用 statusBarOnly 方法替换 statusBar 方法可以彻底解决这个问题
出现这个问题的原因可以看 issues44 里面我的解释

from ultimatebarx.

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.