hi !!i done it and using relativelay.
i am facing a new problem ie, i want to fill whole screen with the
background image.code i am trying is:

requestWindowFeature(Window.FEATURE_NO_TITLE);

getWindow().setFlags(WindowManager.LayoutParams.FILL_PARENT,WindowManager.LayoutParams.FLAG_FULLSCREEN);
       setContentView(R.layout.main);

xml code is:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
   android:orientation="vertical"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
       android:background="@drawable/homepage_image"
       android:gravity="center"
   >
<ImageButton
 android:id="@+id/btnSequence"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:src="@drawable/btn_sequence"
 android:gravity="center_vertical"
 />
<ImageButton
 android:id="@+id/btnVideo"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:src="@drawable/btn_video"
 android:gravity="center_vertical"
 />
<ImageButton
 android:id="@+id/btnInfo"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:src="@drawable/btn_info"
 android:gravity="center_vertical"
 />
</LinearLayout>



Thanks & Regards
Alok Upadhyay
9555758721

-- 
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