Hi, I am trying to get those nicely looking android list dividers
above and below a TextView. This is how far I am:

        <TextView
                android:id="@+id/item_footer"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                
android:drawableBottom="@android:drawable/divider_horizontal_bright"
                android:drawableTop="?android:attr/listDivider"
                android:text="@string/next_update" />

        <ImageView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:src="@android:drawable/divider_horizontal_bright"
                android:scaleType="fitXY"
                android:layout_below="@id/item_footer" />

The ImageView makes what I want - a scaled to fill the parent
separator, but this is somewhat not an ideal solution. The
android:drawable* in the TextView do not scale to fill the parent -
any ideas how to achieve this?

--~--~---------~--~----~------------~-------~--~----~
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