Android Question I can't get rid of the vertical black bars (Samsung S8)

wonder

Expert
Licensed User
Longtime User
Regarding my Kindgom Crisis game (link), I have been reported that this is happening on a Samsung S8.
I do not own this device, so I'm unable to test it.

Untitled.jpg


Here's my manifest code:
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>
<supports-screens
    android:xlargeScreens="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
CreateResource(values-v14, theme.xml,
<resources>
  <style
     name="LightTheme" parent="@android:style/Theme.Holo.Light">
     <item name="android:windowFullscreen">true</item>
  </style>
</resources>)
CreateResource(values-v20, theme.xml,
<resources>
  <style
     name="LightTheme" parent="@android:style/Theme.Material.Light">
     <item name="android:windowFullscreen">true</item>
  </style>
</resources>)
SetApplicationAttribute(android.permission, "READ_FRAME_BUFFER")
SetApplicationAttribute(android:theme, "@style/LightTheme")
SetApplicationAttribute(android:icon, "@mipmap/ic_launcher")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:largeHeap, "true")

I am doing something wrong?

EDIT: I found this solution, but I have no way to test it right now...
http://macbury.ninja/2017/6/fix-samsung-s8-and-s8-black-bars-in-android-application
 
Last edited:
Top