Demonstrates how to conditionally apply TSS styles or include XML markup based on the form factor of the target device. Each XML element, or TSS style, can be assigned a
formFactor attribute that can take a value of either "handheld" or "tablet".
On handhelds, the
main Label text is set to "I'm a handheld!" and to "I'm a tablet!" on tablets. The
platformLabel Label displays the platform as well as form factor.
backgroundColor attribute of all View objects on handhelds is set to blue, and to red on all tablets.