Re: [android-developers] problem in layout alignment

2010-05-04 Thread murali raju
its bcoz ur height param return the height without notification bar n title bar. just disable those, getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); this.requestWindowFeature(Window.FEATURE_NO_TITLE); On Tue, May 4, 2010 at 4:17 PM,

Re: [android-developers] problem in layout alignment

2010-05-04 Thread Anurag Singh
Use public LinearLayout.LayoutParams (int width, int height, float weight)For your reference http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html - Anurag Singh On Tue, May 4, 2010 at 4:17 PM, rajesh chandrasekaran < crajeshdanger...@gmail.com> wrote: > Hi all >

[android-developers] problem in layout alignment

2010-05-04 Thread rajesh chandrasekaran
Hi all I am new in android, i am having few problem in layout alignment.I have divide the screen into three layout,as header, body and footer. I am giving the height dynamically for the three layout in java file, so i need to give 12% of height to header and footer layout, and the remaining 75% i

[android-developers] Problem in Layout

2009-12-22 Thread Nithin
Hi, I have three layouts in my screen. One topLayout, bottomLayout and the centerLayout. CenterLayout is a scrollable layout, in such a way that the center part is scrollable and top and bottomLayout are filxed. I am using linearLayout. Its all working except the bottom layout. For bottom layout ,