ktx-androidx
4.0.2
ktx-androidx
/
com.ayvytr.ktx.ui
/
setPortrait
set
Portrait
fun
Activity
.
setPortrait
(
isPortrait
:
Boolean
=
true
)
Content copied to clipboard
切横竖屏
Parameters
is
Portrait
true: 竖屏;false: 横屏