Dimensions Scales. Which one to choose?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Dimensions Scales. Which one to choose?

Postby cchang » Mon Feb 23, 2009 4:43 pm


I'm a begginer in Android development and would like to know which scales do you use to define your layouts and views. Any tips regarding this matter are very welcomed.

Thanks in advance
Posts: 8
Joined: Mon Feb 23, 2009 4:40 pm


Re: Dimensions Scales. Which one to choose?

Postby jagtap.jj1 » Tue Feb 24, 2009 10:15 am

Android uses few scales they r : pixel(px), dp, inches, etc
if u set width of layout , u can use android:layout_width="320px", here layout width is 320 pixel, like u can use other scales.
java-android developer
User avatar
Senior Developer
Senior Developer
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 8 guests