Commit c391ce0
authored
Add CustomPythonActivity.java file.
Overrides PythonActivity.java to make sure orientation is not forced at runtime. Orientation is now forced to 'portrait' at runtime for phones only. The change is included in :def: on_start in :cls: EuroleagueStatsApp (main.py).1 parent ef033e1 commit c391ce0
1 file changed
Lines changed: 21 additions & 0 deletions
File tree
- pythonforandroid/bootstraps/sdl2/build/src/main/java/org/kivy/android
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments