我的一项活动突然改变了状态栏中的颜色。默认情况下它是黑色的,但现在它是透明的,为什么?
I've marked around the bar with a circle. By default this is black
我的XML:
Convert.ToDateTime
答案 0 :(得分:1)
我认为这完全取决于你的主题。 首先请查看以下链接:
How to change the status bar color in android
How to change the background color of android status bar
也许你的基本主题有属性" android:windowTranslucentStatus" = true或" colorPrimaryDark = @android:color / transparent"所以你需要创建一个新的风格,如:
react-bootstrap-table-all.min.css
然后将此样式设置为AndroidManifest中的当前活动主题:
combined.sort(key = lambda x: (x.date, 1 if x in invoices else 0))