I am working on images
here my images are from server i need to display those images in rounded corner
i have set background with round border
when i set image through code i am displaying the image in rectangle here is code
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/iphoneforimagecon">
<shape android:shape="rectangle" >
<corners android:radius="30dip" />
<solid android:color="#d8d8d8" />
<stroke
android:drawable="@drawable/iphoneforimagecon"
android:width="2dip"
android:color="#000000" />
</shape>
</item>
</layer-list>
Please help me.
Thanks
Naveen.
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