Android Circular button widget for Android.
- Add the mavenCentral() repository to your root build.gradle at the end of repositories:
allprojects {
repositories {
...
mavenCentral()
}
}
- Add the CircularButton dependency in the build.gradle:
implementation group: 'com.apachat', name: 'circularbutton-android', version: '1.0.3'
<com.apachat.circularbutton.core.CircularButton
android:id="@+id/button"
android:layout_width="64dp"
android:layout_height="64dp"
app:cb_color="#99cc00"
app:cb_pressedRingWidth="8dp" />
<com.apachat.circularbutton.core.CircularButtonText
android:layout_below="@id/buttonText"
android:layout_width="64dp"
android:layout_height="64dp"
android:text="1"
android:textSize="25sp"
android:textColor="#000000"
app:cb_color="#99cc00"
app:cb_pressedRingWidth="8dp" />
For bugs, questions and discussions please use the Github Issues.