More on Layout Attributes
Now you are going to add a few more tweaks to the design of list_item_crime.xml and, in the process, answer some lingering questions you might have about widgets and attributes.
Navigate back to the design view of list_item_crime.xml. Select crime_title and adjust some of its attributes: Expand the textAppearance section and set the textSize attribute to 18sp. Set the textColor attribute to @android:color/black (Figure 10.32).
Figure 10.32 Updating the title color and size
You can type these values directly into the fields in the attributes pane, choose from the dropdown (in the case of textSize ...
Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.