StarView.java: Star shape added which can draw n-pointed star.
Minimum points are 3 and default points are 5.
star_noOfPoints attribute added to set number of points from xml.
README file updated with StarView shape and preview added.
Package name fixed for sample app.
From: florent37.github.com.triangleview
To: com.github.florent37.shapeofview.sample
PS: I noticed another pull request containing Star shape. I have reviewed that pull request and what is different is that mine allows to create a n-pointed star with a symmetric shape, no matter what the width and height are, the shape will not distort.
StarView.java: Star shape added which can draw n-pointed star. Minimum points are 3 and default points are 5. star_noOfPoints attribute added to set number of points from xml. README file updated with StarView shape and preview added.
Package name fixed for sample app. From: florent37.github.com.triangleview To: com.github.florent37.shapeofview.sample
PS: I noticed another pull request containing Star shape. I have reviewed that pull request and what is different is that mine allows to create a n-pointed star with a symmetric shape, no matter what the width and height are, the shape will not distort.