I mean how do I span the text across multiple lines and have it
centered?
Even when I change what you suggested I still get something like this
(use fixed font)

-------------------
Item 1 XXXXXXXXXXXX
-------------------
  Text that spans
    two lines
-------------------
  Appears to fill
     the cell
-------------------
Item 4 XXXXXXXXXXXX
-------------------

I expected Item 1 and Item 4 to be BOTH center-aligned and fill the
cell so that area marked with XXXXXX is clickable.

<LinearLayout
        android:id="@+id/LinearLayout01"
        xmlns:android="http://schemas.android.com/apk/res/android";
        android:minHeight="46px"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:gravity="center">
<TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/label"
        android:layout_marginLeft="5px"
        android:gravity="center">
        </TextView>
</LinearLayout>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to