Code Monkey home page Code Monkey logo

Comments (8)

laobie avatar laobie commented on May 24, 2024 1

@BelongsH
用你的布局测试了下,你这个界面不应该调用设置透明这个方法,应该调用 setColorForDrawerLayout
就没问题的。
当你的toolbar使用图片作背景的话,设置透明的话是有问题的。这个我还在修复中。
image

from statusbarutil.

laobie avatar laobie commented on May 24, 2024

等我这几天有空测试下,如果修复了这个bug我会通知你的 : )

from statusbarutil.

Aysnine avatar Aysnine commented on May 24, 2024

不知道是不是同样的问题,应该说是content没有给 StatusBar 腾出位置。

软件 StatusBarUtil.apk 正常,不知道是代码哪里的问题。

小魅蓝,FlymeOS 4.2.1.2C,Android 4.4.4

from statusbarutil.

laobie avatar laobie commented on May 24, 2024

@Aysnine
ok,我测试下给你答复

from statusbarutil.

laobie avatar laobie commented on May 24, 2024

@Aysnine 你看看你是不是也是这个问题

from statusbarutil.

Aysnine avatar Aysnine commented on May 24, 2024

@laobie 可行,StatusBar 的位置出现,但是颜色不对,设置的和 Toolbar 一样的颜色,但是变色了,偏紫。

侧滑出的 Drawer 没问题,上方正常透明。

捉急,原谅我上不了图|・ω・`)

from statusbarutil.

laobie avatar laobie commented on May 24, 2024

@Aysnine 那个不是偏紫色,那个是一个透明度遮罩,如果是纯色不加遮罩的话你可以用另外一个方法,你看我给你的截图,或者看源码有注释的。
image

按照你的需求,你需要的是第二个方法setColorNoTranslucentForDrawerLayout

from statusbarutil.

Aysnine avatar Aysnine commented on May 24, 2024

@laobie 真•偏紫,试过 NoTranslucent ,Serious,浅蓝加遮罩会紫?不信你看看 gmail (:з」∠)

from statusbarutil.

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.