I would like to know how can I set the status bar on transparent on Android with Nativescript ?
I read many post (How do I create a transparent Activity on Android?, https://blog.mindorks.com/how-to-create-a-transparent-activity-in-android...) but the status bar is always Grey or not transparence.
In values/styles.xml I added this :
<style name="Theme.AppCompat.Transparent.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
In AndroidManifest.xml
<activity
android:name="com.tns.NativeScriptActivity"
android:label="@string/title_activity_kimera"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
android:theme="@style/Theme.AppCompat.Transparent.NoActionBar">
I'm confuse because it's like very easy. Maybe it's different on nativescript ?
I look this video https://www.youtube.com/watch?v=NroxMDGOJ_E but if I set this color "#00000000" or "@android:color/transparent" on ns_primaryDark it doesn't work.