Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.4 KB

README.md

File metadata and controls

40 lines (35 loc) · 1.4 KB

CustomButtonsAndroid

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.

Download

  1. Add below code in your root build.gradle at the end of repositories
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. Add the dependency
dependencies {
     compile 'com.github.bachiri:CustomButtonsAndroid:0.1.0'
}

Sample application

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"
        />

alt text

Contributing

you can Contribute to this project by forking it or sending a pull request.