January 2014
Intermediate to advanced
736 pages
70h 43m
English
You’ll now complete the app’s design by customizing the views’ properties and creating several string and dimension resources. As you learned in Section 2.5, literal string values should be placed in the strings.xml resource file. Similarly, literal numeric values that specify view dimensions (e.g., widths, heights and spacing) should be placed in the dimens.xml resource file.
Specify the literal text for the amountTextView, customPercentTextView, percent15TextView, percentCustomTextView, tipTextView and totalTextView:
1. Select the amountTextView in the Outline window.
2. In the Properties window, click the ellipsis button next to the Text property.
3. In the ...
Read now
Unlock full access