Dim p As Phone
If p.SdkVersion >= 21 Then
Dim jo As JavaObject
Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null)
window.RunMethod("addFlags", Array(Bit.Or(0x00000200, 0x08000000)))
Activity.Height = 100%y+25dip
End If
Changing the action bar, status bar and navigation bar colors is done with resources set in the manifest editor. The manifest code: SetApplicationAttribute(android:theme, "@style/LightTheme") CreateResource(values, colors.xml, #ff039be5 #ff006db3 #ffffffff #ff006db3 )...
Dim p As Phone
If p.SdkVersion >= 21 Then
Dim jo As JavaObject
Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null)
window.RunMethod("addFlags", Array(Bit.Or(0x00000200, 0x08000000)))
Activity.Height = 100%y+25dip
End If