我无法应用“Theme.AppCompat.NoTitleBar"和“colorPrimaryDark"同时状态栏颜色属性 [英] i am unable to apply "Theme.AppCompat.NoTitleBar" and "colorPrimaryDark" status bar color property at the same time

查看:15
本文介绍了我无法应用“Theme.AppCompat.NoTitleBar"和“colorPrimaryDark"同时状态栏颜色属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在整个应用程序中隐藏操作栏,还想设置状态栏颜色?在 Appcelerator 钛中.

I want to hide the action bar throughout the application and also want to set the status bar color? in Appcelerator titanium.

推荐答案

请按照官方指南 https://wiki.appcelerator.org/display/guides2/Android+Action+Bar

您可以在 open 事件中的代码 win.activity.actionBar.hide(); 中隐藏它并在主题 xml 中使用普通样式,或者您将主题中的父项设置为