使 statusBar 透明 android

開啟 APP_Resources/values/styles.xml 並新增

<item name="android:windowTranslucentStatus">true</item>

在裡面

<style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> </style> 

部分。