Orientation Lock
lock the screen orientation
com.tuyafeng.orientationlock
About Orientation Lock
<p><i>Orientation Lock</i> is a simple open source app to lock the screen orientation, for Android 5.0+.</p><p><br><b>Features:</b></p><ul><li>Minimalist and lightweight: less than 100KB in size;</li><li>Clean design: easy-to-use interface;</li><li>Open source: no dependencies, no ads, no trackers.</li></ul><p><b>Why Orientation Lock?</b></p><p>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.</p><p>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?</p>