<style name="MyCusTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar" > <item name="android:windowTranslucentStatus">true</item> </style>
tip:在Activity的Theme中添加该属性即可。
<style name="MyCusTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar" > <item name="android:windowTranslucentStatus">true</item> </style>