itamecodes / CustomView

A circular custom textview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circle View

This is a custom circular view and can be used like the below :- If your radius is more than the container bounds , it automaticaly adjusts itself If you want to change this behavior please override the onMeasure method of the class

define it in your xml as:-

<com.itamecodes.customviews.NewCircleView
    	android:layout_below="@id/thetext"
        android:layout_width="match_parent"
        android:layout_height="fill_parent" 
        app:radius="30"
        app:circletext="wowww"
        app:circlecolor="@android:color/black"
        app:circletextpadding="3"
      />

</RelativeLayout>

About

A circular custom textview


Languages

Language:Java 100.0%