I have a spin wheel which is in constraint layout. So I use GestureDetector , onFling event to calculate if user rotated the layout to left or right.
override