mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
6ee661398d
Sylvain Here's a patch. It tries to get the hint first. Resizable will allow any orientation. Otherwise it uses width/height window. setOrientation method is splitted in static and non-static, so that it can be overloaded in a user subclass. Some artefact observed : surfaceChanged() can be called twice at the beginning. When the phone starts in portrait and run a landscape application. |
||
---|---|---|
.. | ||
jni | ||
res | ||
src/org/libsdl/app | ||
AndroidManifest.xml | ||
ant.properties | ||
build.properties | ||
build.xml | ||
default.properties | ||
proguard-project.txt | ||
project.properties |