[android-developers] Creating a view divider with default holo color
I'd like to create a view divider with a background color of holo
accent color
<View
android:id="@+id/div1"
android:layout_width="match_parent"
android:background="#FFFF0000" <<<<<<<<<
android:layout_height="2dp" />
how can i do that
i.e. not hardcoding it. something like
android:layout_height="?android:attr/listPreferredItemHeight"
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home