Git Product home page Git Product logo

Comments (11)

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

fragment

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

使用

from onebottomnavigationbar.

onestravel avatar onestravel commented on June 11, 2024

打开界面,手机锁屏后再打开会向上移动

我看下图片效果,我这里测试没有问题,我觉得如果是整个 NavigationBar 上移,应该是你的布局问题

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

IMG_4625

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

IMG_4626

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

而且 setOnItemSelectedListener 进入fragment的时候就执行了。。。。我写在 onViewCreated

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

不支持repalce 吗?

from onebottomnavigationbar.

zhaohuanhui avatar zhaohuanhui commented on June 11, 2024

我自定义了一个。没问题。你这个不支持。

from onebottomnavigationbar.

onestravel avatar onestravel commented on June 11, 2024

我自定义了一个。没问题。你这个不支持。

oneBottomLayout.isReplace = true
打开这个开关是支持 replace 的

from onebottomnavigationbar.

onestravel avatar onestravel commented on June 11, 2024

打开界面,手机锁屏后再打开会向上移动
应该是布局的问题,导致位置测量出现偏差,我看到有一张图片上导航栏直接覆盖在了主界面上边,这应该是布局错误你可以参考一下 demo 中的 MainActivity的布局方式

from onebottomnavigationbar.

onestravel avatar onestravel commented on June 11, 2024

以上问题已解决,请使用 1.2.4-beta 版本

from onebottomnavigationbar.

Related Issues (16)

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.