A library containing some custom useful Buttons using The Kotlin language ,this is the first version ,stay tuned and check the library for more custom buttons.
- Add below code in your root build.gradle at the end of repositories
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
compile 'com.github.bachiri:CustomButtonsAndroid:0.1.0'
}
You can check the sample code that uses this Library in sample application.
<io.bachirio.custombuttons.CustomButton
android:layout_width="60dp"
android:layout_height="60dp"
app:pressed_color="@color/custom_fab_Button_pressed"
app:round_radius="50dp"
app:btn_shape_type="circle"
app:unpressed_color="@color/custom_fab_Button_unpressed"
/>
you can Contribute to this project by forking it or sending a pull request.