Rotate View Hierarchy 90 degrees

后端 未结 6 967
予麋鹿
予麋鹿 2020-11-28 03:33

I am working on a subclass of FrameLayout that is supposed to rotate all of its children by 90 degrees. I am doing this to overcome the landscape-only camera limitation pres

6条回答
  •  执念已碎
    2020-11-28 04:14

    Using this library you can rotate whole view hierarchy https://github.com/rongi/rotate-layout

    Like this

    enter image description here

提交回复
热议问题