O'Reilly logo

Android Studio Cookbook by Mike van Drongelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ripples and elevations

While elevations and ripples are not exactly to be considered to make people more beautiful, applying these and other material design principles to our app will certainly contribute to the beautification of it.

In the previous recipe, we created a list to show all logged drinks. In this recipe we will add an elevated button to add new entries. Also, we will create a new activity.

For each entry, the user can describe some thoughts on what he drank. Of course, the user has to be able to take a selfie each time so that later he can check whether drinking all that water or green tea (or beer for that matter, if the user of our app does have a slightly different objective than that this app has been intended for) indeed did have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required