Hi,
I have a problem to display the view (e.g. Button after the ListView
which I will bind and populate from a CursorAdapter).
Here is the part of the XML file:
<!-- friend list populated from cursor -->
<LinearLayout
android:id="@+id/other_contact_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<ListView android:id="@android:id/list"
android:focusable="true"
android:choiceMode="multipleChoice"
android:layout_width="fill_parent"
android:clickable="true"
android:layout_height="wrap_content"/>
<TextView android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/empty"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/add_friend_layout"
android:layout_width="fill_parent"
android:layout_height="50px"
android:layout_marginTop="1px"
android:orientation="vertical" >
<Button
android:id="@+id/add_friend_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="bottom here" />
</LinearLayout>
The list displays perfectly, however, the button at bottom never shows
up.. If I put the button on top of the list, it works fine.
Anyone know the reason?
--elephantbug
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---