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

Hi,

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
Celso
cchang
Freshman
Freshman
 
Posts: 8
Joined: Mon Feb 23, 2009 4:40 pm

Top

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
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests