Your First Kotlin Android App: An App From Scratch, Episode 6: Build UI with Views | raywenderlich.com

Build the basic inteface of the Bull’s Eye app using Views in Android.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/30498263-your-first-kotlin-android-app-an-app-from-scratch/lessons/6

@fleepgeek when device orientation is changed to landscape, the UI orientation of the screen is not changing. Do we need to change any settings? or add any additional code?

You need to enable screen rotation in your emulator. Sometimes this is turned off so you have to slide down the setting menu from the top and enable screen rotation just like how you’ll do it on your real Android device.