java - Android: Button to the south -


i've got vertically orientated linearlayout 2 components: first listview , beneath button. want listview fill space still button fits beneath. in java (swing) using borderlayout setting listview center , button south. how possible in out android context?

in layout xml set android:layout_height="0dp" , android:layout_weight=1 listview.


Comments