Add a button to an app

Learn how to respond to a button click in an Android app.

 

Intro to Dice Roller app

Video Optional

Learn about Dice Roller, the app you will be building in this pathway.

Create an interactive Dice Roller app

Codelab

Learn how to build an interactive Dice Roller app that lets users roll a dice and then shows them the result.

Use the debugger in Android Studio

Codelab

Learn how to use the debugger in Android Studio to inspect and debug the state of your app at runtime.

Practice: Click behavior

Codelab

Apply what you learned about button click behavior to build an app.

What's next?

Video Optional

Great job on building the Dice Roller app! In this pathway you’ve used your kotlin knowledge to build your first interactive app.

Quiz

Test your knowledge and earn your Dice Roller badge.