Changes

Jump to: navigation, search

An Android Layout Editor Sample Data Tutorial

29 bytes added, 21:07, 14 January 2019
no edit summary
<table border="0" cellspacing="0" width="100%"><tr>
<td width="20%">[[An Android RecyclerView and CardView Tutorial|Previous]]<td align="center">[[Android Studio Development Essentials - Java Edition|Table of Contents]]<td width="20%" align="right">[[Working with the Android AppBar and Collapsing Toolbar Layouts|Next]]</td>
<tr>
<td width="20%">An Android RecyclerView and CardView Tutorial<td align="center"><td width="20%" align="right">Working with the Android AppBar and Collapsing Toolbar Layouts</td>
</table>
<hr>
In the “Modern “Modern Android App Architecture with Jetpack” chapter earlier in the book the concept of sample data was introduced. To demonstrate sample data in use, the project will now be modified so that the fully populated cards appear within the RecyclerView from within the layout editor. Before doing that, however, it is worth noting that the layout editor has a collection of preconfigured sample data templates that can be used when designing user interfaces. To see some of these in action, load the content_card_demo.xml layout file into the layout editor and select the RecyclerView instance. With the view selected, hover the mouse pointer over the view until the buttons shown in Figure 48-2 appear:
<hr>
<table border="0" cellspacing="0" width="100%"><tr>
<td width="20%">[[An Android RecyclerView and CardView Tutorial|Previous]]<td align="center">[[Android Studio Development Essentials - Java Edition|Table of Contents]]<td width="20%" align="right">[[Working with the Android AppBar and Collapsing Toolbar Layouts|Next]]</td>
<tr>
<td width="20%">An Android RecyclerView and CardView Tutorial<td align="center"><td width="20%" align="right">Working with the Android AppBar and Collapsing Toolbar Layouts</td>
</table>

Navigation menu