Titanium APIs provide an abstraction layer for the Android and iOS UI elements, allowing you to write your view code against the Titanium abstraction.
There are some view concepts which have not been abstracted, meaning that developers have to write platform specific view code.