Giter Club home page Giter Club logo

Comments (9)

xiaobaDev avatar xiaobaDev commented on August 25, 2024 1

这个我改完了,但是为了兼容部分国产机型而做的改动比较大,等我们的产品稳定运行一个版本,再推commit
大体思路就是本文所描述的

from bgaswipebacklayout-android.

bingoogolapple avatar bingoogolapple commented on August 25, 2024

@xiaobaDev 你那边出现导航栏白条是用的最新版本 v1.1.5 吗?

from bgaswipebacklayout-android.

xiaobaDev avatar xiaobaDev commented on August 25, 2024

是最新的,这个和你版本其实没啥关系了,在oppo R9上,无论导航条收起还是展开;用getAppUsableScreenSize拿到的就是1800;其实应该是1920;

from bgaswipebacklayout-android.

ShshyDevooo avatar ShshyDevooo commented on August 25, 2024

请问你说的打开demo,然后把View的节点打印出来查看下。请问如何打印?

from bgaswipebacklayout-android.

xiaobaDev avatar xiaobaDev commented on August 25, 2024

用android studio 运行demo程序,在Ide的底部栏目里找到 android Monitor,点开;再找到左边的Layout Inspector,点击下,等待android studio 打印出节点,然后找到ID的属性即可

from bgaswipebacklayout-android.

ShshyDevooo avatar ShshyDevooo commented on August 25, 2024

魅族3 Layout Inspector下看不到smartbar

from bgaswipebacklayout-android.

ShshyDevooo avatar ShshyDevooo commented on August 25, 2024

20171103142207

from bgaswipebacklayout-android.

xiaobaDev avatar xiaobaDev commented on August 25, 2024

这个只能稍等下了,我先把主流思路实现掉,再去做这smartBar的适配
你可以拿这个代码去检测下看

    public static View getCustomNavigationBar(Activity context) {
        if (context == null || context.getWindow() == null) return null;
 
        return context.getWindow().findViewById(android.R.id.navigationBarBackground);
    }

from bgaswipebacklayout-android.

ronanhardiman avatar ronanhardiman commented on August 25, 2024

@xiaobaDev 请问这个稳定了么,遇到类似的问题。

from bgaswipebacklayout-android.

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.