To create a simple button, for example, you can use the
Button element. This uses a Titanium.UI.Button which will be rendered as a
UIButton on iOS, or as an
android.widget.Button on Android. You don't need to know any implementation details from either of these native controls as Titanium does all of the actual rendering for you.
Sample Button element
Let's take a look at some examples that will explain in detail how to use Titanium UI elements in Angular.
To control how Titanium positions your UI elements, you have three different layouting behaviors to choose from. Refer to Layouts , Positioning , and the View Hierarchy and layout property docs to see how exactly each layout method works and how the different positioning properties behave in each layout.