<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > android:shape="Rectangle"> <gradient android:startColor="#F778A1" android:endColor="#D4A017" android:angle="180"/> <corners android:radius="60dp"/> <padding android:left="9dp" android:top="9dp" android:right="9dp" android:bottom="9dp" /> <corners android:radius="90dp" /> </shape>
This is my Code, I have changed textview shape as a rectangle with round edged corners. It works fine for me. Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by creating xml in resources/drawable in my app. How could i do this ? Could anyone help me. Any suggestions / helps would be greatly appreciated, thank you ! -- 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

