HI, My image buttons are coming horizontally across teh screen, I have tried enough but couldnt get it align vertically on the right or left side of the screen(see the last figure). Here is my main.xml and myUI is coming like this :
__________________________________________________________ | Button1 Button2 Button3 Button4 Button5 Button5 Button 6 Button7| |_________________________________________________________| | | | | | | | | | | | | | | | | |_________________________________________________________| Plz assit. Thanks in advance, <?xml version="1.0" encoding="utf-8"?> <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" > <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:layout_x="6dp" android:layout_y="83dp" > <com.my.package android:id="@+id/surfaceview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_x="-46dp" android:layout_y="95dp" /> </FrameLayout> <ImageButton android:id="@+id/imageButton1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_x="438dp" android:layout_y="6dp" android:src="@drawable/ic_image0" /> <ImageButton android:id="@+id/imageButton5" android:layout_width="94dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_x="16dp" android:layout_y="6dp" android:paddingLeft="0dip" android:src="@drawable/ic_image1" /> <ImageButton android:id="@+id/imageButton3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_x="147dp" android:layout_y="2dp" android:src="@drawable/ic_image12" /> <ImageButton android:id="@+id/imageButton2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:layout_x="292dp" android:layout_y="1dp" android:src="@drawable/ic_image2" /> <ImageButton android:id="@+id/imageButton4" android:layout_width="99dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_x="427dp" android:layout_y="0dp" android:src="@drawable/image1" /> </AbsoluteLayout> I am trying to get the output like this : __________________________________________________________ | Button1 | | | | | | Button2 | | | | | | Button3 | | | | | | Button4 | | | | | | Button4 | | | | | |_______ |_________________________________________________| Rgds, saurabh -- 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

