I dont know why but i cant get my button to show up after the listview. It does show fine in eclipse-graphical layout but when i launch the emulator the program crashes… here is my xml code and if i move the button above the listview everything is OK. Any ideas? point me in the right direction please…
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/tvTeam1Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" " />
<TextView
android:id="@+id/tvTeam2Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" " />
<TextView
android:id="@+id/tvVVTEST"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="tvVVTEST" />
<TextView
android:id="@+id/tvTeam1Score"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0" />
<TextView
android:id="@+id/tvTeam2Score"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0" />
<Button
android:id="@+id/bTest"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Test" />
<ListView
android:id="@+id/tlist"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/bNewRound"
android:layout_below="@+id/bTest" />
<Button
android:id="@+id/bNewRound"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:text="New Round" />
1 Answer