ich folgen einige Tutorial im Internet Statusleiste auf api19 (KitKat) transparent zu machen, aber ich habe so etwas wie dieses (android:theme="@style/AppTheme.NoActionBar"
Stil) make Statusleiste Kitkat Durchlässiger android
und V-19 \ styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="AppTheme.Base">
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>
styles.xml
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary_dark</item>
<item name="colorAccent">@color/accent</item>
<item name="colorControlHighlight">@color/accent</item>
<item name="android:textColorSecondary">@color/primary</item>
<item name="android:popupMenuStyle">@style/AppTheme.PopupOverlay</item>
<item name="android:popupBackground">@color/light</item>
</style>
, wie ich das weiß durchscheinend geworden transparent oder farbig Primär drehen, so wird es mit ActionBar gemischt werden ..
Sie können einfach Ihre Aktivität aufrufen: 'getActionBar(). SetBackgroundDrawable (neue ColorDrawable (Color.TRANSPARENT));' – Opiatefuchs
PS: seit Android 3.0 .... und vielleicht sollten Sie ein bisschen sicherer durch 'sein ActionBar ab = getActionBar(); if (ab! = null) {} '... etc .... – Opiatefuchs
danke für die Rückmeldung, aber es ist nicht für mich Arbeit ... immer noch Farbverlauf schwarz auf weiß auf Statusleiste .. –