I have a normal-hdpi-480x800 layout, which includes buttons and similar 
graphics. I mostly use RelativeLayout, since it's recommended for better 
performance, and position my elements from the upper left bound relatively 
to each other.  According to 
screens_support.html<http://developer.android.com/guide/practices/screens_support.html>
 this 
group might also include 600x1024 resolution devices. So, when I test the 
application on LG L9 (540x960), which also fall into normal-xhdpi, it looks 
horrible - it seems there's no difference between using pixels and dp. 
Here's an example of code:

    <Button
        android:id="@+id/fb_post_btn"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/share_fb_m_l"
        android:layout_marginTop="@dimen/share_fb_m_t"
        android:background="@drawable/fb_btn" />

Any help ? What I might be doing wrong ?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to