Use Android Studio's quick fix feature.
When there's a red line under any code in Android Studio, it means that there's an error. To resolve the error, click on the code with the error, and press
Ctrl+Enter. This will provide you with multiple options for fixing the error. I use it all day long!
Ctrl+Shift+Aallows you to type any command available in the Android Studio menus. For example, type
Build a simple contacts manager.
Create beautiful buttons in XML.
Built with Android Studio and Kotlin.
Getting started is sometimes the hardest part.
Add a click listener in Kotlin.
Let users sign in.