A simple library that helps to create differ type of shape and stroke without creating drawable file. Also collection of complex custom view
allprojects {
repositories {
maven {url 'https://jitpack.io'}
}
}
dependencies {
implementation "com.github.kamrul3288:customview-android:X.X.X"
}
<com.iamkamrul.button.ButtonRegular
app:btn_background_color="@color/teal_200"
app:btn_border_radius="15dp"
app:btn_background_shape="rectangle"
android:text="Hello"
android:layout_margin="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>