ya,me too facing same problem dip means deviceindependentpixels,,so if we position it using dip,,it gives same space with all screens,,,
and that is the problem Is there any way to give dimensions based on screen? On Mon, Mar 8, 2010 at 12:45 PM, javame_android <[email protected]>wrote: > Hi, > > I want to support most of the Android Devices for the application. The > problem that I am facing is the positioning of the EditText fields. > The User Interface gets displayed properly in HVGA Emulator but not in > WVGA emulator. The HVGA emulator is 320 * 480 screen resolution and > the WVGA is 480 * 800. I have inserted the support-screens tag in the > manifest file, but still it remains the same. > > I have used RelativeLayout and specified layout_marginTop = 220dip for > the EditText. I am using a background image on top of which I want > this EditText field. The background image has a box into which this > EditText filed should come. By specifying 220dip as the top margin it > is displayed appropriately in HVGA but slightly above the box in > WVGA. > > Can some one point what may be the problem or suggest something that > may sort out this issue? > > > > Thanks & Regards > Sunil > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

