状态栏半透明与色调上奇巧 [英] Statusbar Translucent with Tint on Kitkat

查看:127
本文介绍了状态栏半透明与色调上奇巧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要设置Android状态栏半透明像在iOS 7的色彩效果的颜色,我已经审议了有关文件,但只解释了如何获得一个渐变的半透明状态栏。

I need to set Android status bar semi-translucent with a color like tint effect on iOS 7, i've reviewed the documentation, but it only explains how to get a gradient translucent status bar.

我已经看到了三星Galaxy S5股票拨号应用程式的效果,所以我想执行这个效果。这是效果:

I've seen the effect on Samsung Galaxy S5 stock dialer app, so I want to perform this effect. This is the effect:

例如这是一个示例应用程序,显示类似,我想打一个效果,而是一个渐变透明我想与固体半透明状状态栏后面纯色整个状态栏:

For example this is an example app that show an effect similar that I want to make, but instead a gradient to transparent I want the whole status bar with solid color behind the solid semi translucent status bar:

<一个href=\"https://play.google.com/store/apps/details?id=com.readystatesoftware.systembartint.sample&hl=es\" rel=\"nofollow\">https://play.google.com/store/apps/details?id=com.readystatesoftware.systembartint.sample&hl=es

任何帮助将是巨大的。先谢谢了。

Any help would be great. Thanks in advance.

推荐答案

你试过设置颜色在图案#OORRGGBB?

Have you tried to set color over the pattern #OORRGGBB?

例如:#50ff0000。前两个数字是不透明度。

Example: #50ff0000. The first two numbers are the opacity.

无论如何,我发现这个项目,可以帮助你。

Anyway, I've found this project that might help you.

https://github.com/jgilfelt/SystemBarTint

这篇关于状态栏半透明与色调上奇巧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆