An open source app to lock the screen orientation, for Android 5.0+.
- Minimalist and lightweight: less than 100KB in size;
- Clean design: easy-to-use interface;
- Open source: no dependencies, no ads, no trackers.
When using an Android tablet, you might find that some applications do not support landscape mode or specific orientations. This was quite troublesome for me. I tried several screen orientation locking apps available on the market, but they were overloaded with features. I simply needed an app to lock the screen orientation, so I decided to create one myself.
The principle behind locking the screen orientation is very simple: it involves using a floating window to render a view in a specified orientation. This is just a straightforward application, and I wanted to keep it lightweight. Therefore, I implemented it using native methods without any third-party libraries. Pretty cool, isn’t it?
Copyright (C) 2024 Yafeng Tu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.