I'm testing beta 13.40.
IME event was never fired.
I started unpacking bit my bit my app, until I found that the event is not raised when either:
The manifest contains the item
Here:
Also if I remove that line from the manifest, then it gets trapped in other Main Sub:
Anyone with the same issue on Beta?
If both of this conditions are taken out of the code, ChangeHeight is raised correctly
IME event was never fired.
I started unpacking bit my bit my app, until I found that the event is not raised when either:
The manifest contains the item
B4X:
<item name="android:windowTranslucentStatus">true</item>
Here:
B4X:
SetApplicationAttribute(android:theme, "@style/Custom")
CreateResource(values-v20, theme.xml,
<resources>
<style name="Custom" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowTranslucentNavigation">false</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement">false</item>
<item name="android:windowTranslucentStatus">true</item> '<-- If removed event if fired'
</style>
<color name="icon">#1386FF</color>
</resources>
)
Also if I remove that line from the manifest, then it gets trapped in other Main Sub:
B4X:
Sub Activity_WindowFocusChanged(HasFocus As Boolean)
If HasFocus Then
Try
Dim jo As JavaObject = Activity
Sleep(300)
jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '3846 - non-sticky
Catch
xc.logd(LastException)
End Try
End If
End Sub
Anyone with the same issue on Beta?
If both of this conditions are taken out of the code, ChangeHeight is raised correctly