I would like to have a shape that has border only on 3 sides: top,
left and right, i.e. I want bottom to be open. How can I achieve that
defining shape in XML?
Currently I have a normal 4 side border using the following shape XML
definition:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<solid android:color="#FFE8F0F8"
/>
<stroke android:width="1dp"
android:color="#808480"
/>
<padding android:left="1dp"
android:top="1dp"
android:right="1dp"
android:bottom="1dp"
/>
</shape>
Many thanks, Viktor.
--~--~---------~--~----~------------~-------~--~----~
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