Creating relative layouts for content display

The WebView offers an easy way by which large amount of content can be displayed to the user in an easy-to-read format. It also has many built-in features designed specifically for viewing content. However, it doesn't always offer the easy way out and often doesn't allow for functionality that other widgets provide out-of-the-box. The RelativeLayout class provides much of the same layout functionality that the WebView class provides you with.

As we just discussed, the WebView stands out almost as though it were a separate application. Working with a RelativeLayout, you'll be populating your screen with standard Android widgets, which in turn means that there will be no change in the look and feel from ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.