Novice needs help getting started. I am working through tthe book “Android Programming in Kotlin: Starting with an App.” This is my first program, and I just started Android Studio.
When I start an app in Android Studio 3.1.3 using “include Kotlin” and select “Basic activity,” as instructed in the book, the Android Preview screen shows “android…CoordinatorLayout” instead of the Hello World! text that should be on the screen.
When I Run the App, it works in an emulator, showing the Hello World! text, but I cannot see the text on the xml file Design screen because it is grayed out and has the “android…CoordinatorLayout” text on it.
I read a forum entry somewhere that said I should use an “AppCompat” theme to fix this. I did that and the screen now shows blank - I cannot see the Hello World! text in the xml file Design preview. “android…CoordinatorLayout” is gone, but there is no text in its place.
Any help would be greatly appreciated. Thank you.