CircleLayout
CircleLayout copied to clipboard
Clipping of view elements inside when they're circles
Thanks for this great library! Just what I needed. But, I'm facing an issue when I'm trying to place 5 circles in a circle using your CircleLayout. Have attached the screenshot.

My layout.xml-
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res/com.styledotme.one" android:id="@+id/themepopup" android:layout_width="fill_parent" android:layout_height="fill_parent"
<com.styledotme.one.CircleLayout
android:id="@+id/circlecolortap"
android:layout_width="match_parent"
android:layout_gravity="center_horizontal|center_vertical"
android:layout_height="match_parent"
app:angleOffset="40.0" >
<View
android:id="@+id/pinkthemetile"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle_pink"
android:tag="PinkTheme" />
<View
android:id="@+id/bluethemetile"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle_blue"
android:tag="BlueTheme" />
<View
android:id="@+id/greenthemetile"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle_green"
android:tag="GreenTheme" />
<View
android:id="@+id/orangethemetile"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle_orange"
android:tag="OrangeTheme" />
<View
android:id="@+id/redthemetile"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle_red"
android:tag="RedTheme" />
</com.styledotme.one.CircleLayout>
One of the drawables used for the cirlces-

and that's about it! the rightmost child circle is clipping no matter what I tried. (margin, change size to smaller than parent, etc) Only option seems to be to reduce the size of the 5 circles but it makes them aesthetically too small to accept.
Thanks!
Thanks for your report - I'll take a look when I'll have any free time.
I have the same problem, and don't know where to change the radius setting. Could you give some hint?

I solve it by set the radius bigger: app:innerRadius="100dp"