You are wrong. The image will always be shown at 10 'dip'. You set the margin yourself. If you want to display it elsewhere set the margin to something else.
Thanks On Thu, Aug 11, 2011 at 4:08 PM, arun kumar <arun.kata...@gmail.com> wrote: > > > ---------- Forwarded message ---------- > From: arun kumar <arun.kata...@gmail.com> > Date: Thu, Aug 11, 2011 at 12:36 PM > Subject: imageview displaying > To: android-developers@googlegroups.com > > > Hi > > i placed a imageview (10dip) from the margin left(assume 100*200 size > emulator )the same code if i run on the another emulator(assume 200*200)the > image view should appear at 20dip but it is displaying at 10dip only ...so > how can i solve this.... > > > <ImageView android:layout_height="wrap_content" > android:layout_marginLeft="10dip" android:id="@+id/iv4" > android:layout_width="wrap_content" > android:src="@drawable/image"></ImageView> > > > Thankyou > arun > > -- > 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 > -- -------------------- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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