Wednesday, March 21, 2012

[android-developers] bottom?

Hi!
I'm trying to create a shape with a border on 3 sides (top and sides, not at the bottom):

<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#000" />
    <stroke android:width="2dp" android:color="#888" />
    <corners android:topLeftRadius="2dip" android:topRightRadius="2dip "/>
</shape>

Unfortunately, I haven't found a way to hide the bottom stroke. Is it possible to do it in Android 2.2+?
Thanks in advance!

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

No comments:

Post a Comment