In the last chapter, we learned how to create views using metadata and push data to the client through RhoSync. In this chapter we will learn about Native User Interface for different phones. We will perform device-specific operations to give a more native look to our application. First, we will understand how Rhodes handles the native look for different devices. The Rhodes framework includes cascading stylesheets, which are customized for each device to give your applications a native look and feel.
Many of the custom styles required on one platform have no counterpart on other platforms. For example, while the iPhone supports several toolbar button styles, there are no corresponding styles in the Android or Windows Mobile platforms. As a result, the iPhone stylesheet provides custom styles for each of these button types, while the remaining devices apply the same style definition to all four-button styles, which we shall discuss...