AutoRotateLayout
Rotate on device rotation it use the OrientationSensor Class. To use it the OrientationSensor must be start on Activity resume and stop on Activity pause.
open class AutoRotateLayout
Content copied to clipboard
Constructors
AutoRotateLayout
Link copied to clipboard
open fun AutoRotateLayout(context: Context)
Content copied to clipboard
AutoRotateLayout
Link copied to clipboard
open fun AutoRotateLayout(context: Context, attrs: AttributeSet)
Content copied to clipboard
AutoRotateLayout
Link copied to clipboard
open fun AutoRotateLayout(context: Context, attrs: AttributeSet, defStyleAttr: Int)
Content copied to clipboard
Functions
onOrientationChange
Link copied to clipboard
open fun onOrientationChange(screenOrientation: ScreenOrientation)
Content copied to clipboard