Android Only 2011
Part of my presentation about building Custom UI Components at Android Only 2011.
A price view using a
TextView. Different colors applied within the
PriceView refactored from Demo 1.
A compound component that consist of two views, one for the amount and one for the currency.
<merge>. Compare demo 3 and demo 4 in the Hiearchy Viewer
and see how
<merge removed the extra layout.
PriceView with custom attributes.
A different theme is applied to the activity.
PriceView to demonstrate how we can get rid of the two
for amount and currency.