Giter VIP home page Giter VIP logo

ultimatebar's Introduction

此项目已停止维护

不要再 star 了!
不要再 star 了!
不要再 star 了!

请使用我的新项目

🔥🔥🔥UltimateBarX🔥🔥🔥

状态栏和导航栏彻底解藕,功能更强大

ultimatebar's People

Contributors

zackratos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ultimatebar's Issues

applyNavigation(false)无效,虚拟按钮与布局重叠

我想实现的效果是沉浸状态栏,不应用到导航栏,让布局在虚拟按键上方显示。我使用
UltimateBar.Companion.with(this) .applyNavigation(false) // 是否应用到导航栏 .create() .immersionBar()
运行后虚拟按键挡住了布局。

设置状态栏深色字体

状态栏设置为白色时字体颜色也是白色,看不到状态栏的文字,可以加个设置状态栏深色字体的属性

兼容toolbar问题

请问加了toolbar的话 怎么适配呢 按照你文档说的 设置全透明的话 toolbar就被定上去了

Set background and foreground color of status bar and navigation bar when make them hidden

Hi, Thanks for your great library.

I have one trouble when use your library.
I want to hide the status bar and navigation bar at first.(works great now)
Second, The app user can expand them by dragging from the edge of screen, at this time, I want to make the status bar and navigation bar which have transparent background and transparent foreground, so that I can make the user do not realize the status bar and navigation bar even though it expanded.

I used your code for hiding status bar and navigation bar.
But It did not have transparent background(have grey transparent background and white foreground) and I could not change them.
I was testing using Android 8.0.1/tablet(landscape)

Hope to get your kind reply.
Thanks.

android:Theme.Holo 主题下不能设置导航栏全透明

楼主还在维护吗?我有个应用使用了 android:Theme.Holo 的主题,用了楼主的库,设置导航栏全透明,但效果是半透明的。折腾了挺久,也不能使 android:Theme.Holo 主题的Activity为全透明导航栏。楼主可以给个建议吗?

修改状态栏时,导航栏变成了黑色

在一个有导航和状态栏的手机上,需求是将状态栏的文字设为黑色,但当我调用工具让文字变黑后
UltimateBar.Companion.with(getActivity())
.statusDark(true)// 状态栏灰色模式(Android 6.0+),默认 flase
.create()
.transparentBar();
发现导航栏的背景变黑了,我查找后发现核心方法 setBar 对导航栏的默认处理是 window.navigationBarColor = Color.BLACK。
现在只能重写这个类来解决了。
小米9会自动根据背景色决定导航栏的颜色,所以就出现了这个问题。

这个工具很好用,建议当使用者不调用导航栏方法时,不对导航栏做任何处理。

6.0以下如何设置字体和图标为灰色?设置statusDark无效

我在BaseActivity中统一使用
UltimateBar.Companion.with(this) .statusDrawable(drawableBar) // Android 6.0 以下状态栏灰色模式时状态栏颜色 .statusDrawable2(drawableBar) .statusDark(true) // 状态栏灰色模式(Android 6.0+),默认 flase .applyNavigation(true) // 应用到导航栏,默认 flase .navigationDrawable(drawableBar) // Android 8.0 以下导航栏灰色模式时导航栏颜色 .navigationDrawable2(drawableBar) .navigationDark(true) // 导航栏灰色模式(Android 8.0+),默认 false .create() .drawableBar();

DrawableBar 为白色背景,在6.0以下如何将图标和字体变为灰色,否则看不见啊,6.0以上则没这个问题,

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.