August 2016
Beginner to intermediate
1049 pages
23h 17m
English
The next screen is a bit more complicated. We will need to create a ListView that uses multiple layout files for each row, depending on the type of the row. We'll also need to perform some layout tricks to place a view below the ListView and set up the ListView to autoscroll.
For the next screen, let's begin by creating a new layout named Messages.axml in the layout folder of the Resources directory and then perform the following steps:
@+id/messageList.alwaysScroll. This will set it up in order to display items from the bottom up.1 for the ListView in the Layout tab under the LinearLayout ...Read now
Unlock full access