android - How to place Relative layout at bottom of screen(or linear layout).? -


I have the following in xml

I have the second linear layout on the bottom of the screen How do I do in the part? I have set the property of the second relative layout below but still is not showing the bottom ..

**

  & lt ;? Xml version = "1.0" encoding = "utf-8" & gt; & Lt; LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" Android: Orientation = "Vertical" Android: layout_height = "fill_parent" Android: layout_width = "fill_parent" & gt; & Lt; RelativeLayout Android: id = "@ + ID / Relative Layout 101" Android: Layout_width = "Wrap-content" Android: layout_height = "wrap_content" & gt; & Lt; / RelativeLayout & gt; & Lt; RelativeLayout Android: id = "@ + ID / Relative Layout 02" Android: layout_wind = "fill_parrent" android: layout_heat = "wrap-content" & gt; & Lt; / RelativeLayout & gt; & Lt; RelativeLayout Android: layout_height = "wrap_content" android: layout_width = "fill_parent" android: layout_gravity = "bottom" & gt; & Lt; / RelativeLayout & gt; & Lt; / LinearLayout & gt;  

** Thanx in advance

layout that you want Below it should be:
android: gravity = "bottom"
and its origin must be:
android: layout_height = "fill_parent" < / P>


Comments