O'Reilly logo

Android User Interface Development by Jason Morris

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

Time for action - styling the display

Currently, the numeric display really looks quite awful. That's mostly because we just don't have any styling for it, and currently it's just a plain TextView object. We want the styling to encompass both the TextView object and the ImageView. The display currently looks like the following screenshot:

Time for action - styling the display

In order to fix this display and bring its styling inline with our new Button styling, we'll create two different styles. One to create a border and background around the TextView and ImageView objects, and another to style the TextView widget with a more suitable font.

  1. Create a new drawable resource file named ...

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