Put everything in one RelativeLayout and then use the Below etc parameters to position your images.
On Fri, Aug 12, 2011 at 4:20 PM, arun kumar <arun.kata...@gmail.com> wrote: > Hi am sending the xml code i made by taking relative layout...so,where i > have to change the code..can u guide me... > > Thanks > > > <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" > android:orientation="vertical" android:id="@+id/ll" > android:background="@drawable/circle2" > android:layout_width="wrap_content" > android:layout_height="wrap_content" android:scaleType="center" > > > <LinearLayout android:layout_alignParentTop="true" > android:layout_marginTop="48dip" android:orientation="vertical" > android:layout_width="fill_parent" android:layout_height="fill_parent"> > > <RelativeLayout android:orientation="vertical" > android:layout_width="fill_parent" android:layout_weight="1" > android:layout_height="wrap_content" > > <ImageView android:layout_height="wrap_content" > android:layout_centerHorizontal="true" android:id="@+id/iv1" > android:layout_width="wrap_content" android:paddingTop="15dip" > android:src="@drawable/ideas"></ImageView> > > </RelativeLayout> > > <RelativeLayout android:orientation="horizontal" > android:layout_width="fill_parent" android:layout_weight="1" > android:layout_height="100dip" > > > <ImageView android:paddingTop="10dip" > android:layout_height="wrap_content" android:id="@+id/iv4" > android:layout_width="wrap_content" android:paddingLeft="10dip" > android:src="@drawable/valueaddedservices" > android:scaleType="fitCenter"></ImageView> > > > > <ImageView android:src="@drawable/investors" > android:paddingTop="10dip" android:layout_marginRight="10dip" > android:layout_alignParentRight="true" android:layout_width="wrap_content" > android:layout_gravity="right" android:id="@+id/iv2" > android:layout_height="wrap_content"></ImageView> > > > </RelativeLayout> > > <RelativeLayout android:orientation="horizontal" > android:layout_weight="1" android:layout_width="fill_parent" > android:layout_height="wrap_content" > > <ImageView android:layout_height="wrap_content" > android:layout_marginLeft="8dip" android:layout_centerHorizontal="true" > android:id="@+id/iv3" android:layout_width="wrap_content" > android:paddingBottom="40dip" > android:src="@drawable/implementors"></ImageView> > > > </RelativeLayout> > </LinearLayout> > > > </RelativeLayout> > > > > > -- > 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