1 | import android.content.pm.ActivityInfo; |
2 | |
3 | svoid aPortraitMode() {
|
4 | aActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014914 |
| Snippet name: | aPortraitMode - lock device into portrait mode |
| Eternal ID of this version: | #1014914/2 |
| Text MD5: | 01dab5b7be4c27c2ecf7b1d2d7c86564 |
| Author: | stefan |
| Category: | javax / android |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-06 12:38:17 |
| Source code size: | 151 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 633 / 664 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |