AutoRotateTextView
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 AutoRotateTextView
Content copied to clipboard
Constructors
AutoRotateTextView
Link copied to clipboard
open fun AutoRotateTextView(context: Context)
Content copied to clipboard
AutoRotateTextView
Link copied to clipboard
open fun AutoRotateTextView(context: Context, attrs: AttributeSet)
Content copied to clipboard
AutoRotateTextView
Link copied to clipboard
open fun AutoRotateTextView(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