Android - dark mode / light mode

Previous topic - Next topic

MrPlow

Hi

I had a few rejected submissions from the Galaxy Store for issue with app restarting / closing when switching between light and dark mode

This seems to resolve the issue

adding uimode to configchanges in manifest file
under SDLGLbasic activity section


   <activity android:name="SDLGlbasic"

            android:theme="@style/MyTheme"
            android:label="@string/app_name"
            android:screenOrientation="sensor"
            android:minAspectRatio="1.2"
            android:maxAspectRatio="2.4"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode">


For anyone else who is adding Android apps to the Galaxy Store

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Kitty Hello

Added to the github repository.

MrPlow

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

hey, that one was in a ealier build. but thanks for the notice. we should also let you able what mode its is eventuelly, which should not been that hard.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/