Titanium UI Component size

45 views Asked by At

Which unit (percentage or pixel or density pixel) need to be use while defining the user-interface component in Titanium?

I am facing problem when I am using view with in scroll view. Height and Top properties (in %) of view is not working properly.

1

There are 1 answers

1
Juan Carlos Salinas Ojeda On

Well, i can only recomend based on my own experience. I use percent and dp, both are important to me. Now, when you have to scroll something i use dp, specifying the layout: 'vertical' in the main view. i think it depends on how you are building your UI. Regards.