Custom styling of Button, EditText, etc

from the CommonsWare Community archives

At November 22, 2020, 9:53pm, Jan asked:

Where are some good Kotlin examples of customizing the styling on Button, EditText, etc. Any in Mark’s books’ sample code? My project calls for some heavy customization that goes beyond the common attributes in Android Studio Layouts.

At November 22, 2020, 10:11pm, mmurphy replied:

Sorry, I do not get into that very much.

Partly, that is because the answer varies significantly depending on whether you are using framework views, AppCompat views, or Material Components for Android.

Partly, that is because I simply can’t cover everything in the second-generation books, and “heavy customization” in standard Android is a mess.

If I am able to do books on Jetpack Compose, that sort of topic will be much more central to the Compose UI experience.