22 September 2013

How to solve problems with layout?

So...
on the left what i want.
On the right what i get.


How to make things looks like on the left?
 SOLUTION:
add this to listview:
android:layout_weight="1.0"

Simple :).

Source:
  http://stackoverflow.com/questions/2383847/android-layout-with-listview-and-buttons