[android-developers] alignment issue in top left and top right

2010-11-15 Thread alok upadhyay
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);

[android-developers] alignment issue in top left and top right

2010-11-02 Thread Alok Upadhyay
i am trying to align my two image buttons (back and next) at the top of an image background and trying like below xml code.But both the images are overlapping on top left corner. FrameLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

Re: [android-developers] alignment issue in top left and top right

2010-11-02 Thread Kostya Vasilyev
Alok, FrameLayout is not what you want to use in this case. http://developer.android.com/reference/android/widget/FrameLayout.html FrameLayout is designed to block out an area on the screen to display a single item. You can add multiple children to a FrameLayout, but all children are pegged