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 , i put in the layoutParams gravity=BOTTOM. BUt its not working.
I tried with relativeLayout also, in that the scrollable part is not working fine.Scrollbar as to be at the edge of the screen. In relative, its coming after view. I tried with width=FILL_PARENT.
I am doing all this in java code, not in xml.
Any suggestions is much appreciated.