How to Glow button android example
Android Library to beautify your layouts with glowing buttons:Step 1: Add it in your root build.gradle
allprojects {Step 2: Add the dependency
repositories {
maven { url "https://jitpack.io" }
}
}
dependencies {Step 3: Use it in your layout
implementation 'com.github.SanojPunchihewa:GlowButton:1.0.0'
}
Glow button have the following attributes in addition to the default button attributes. Please see the demo app
<com.sanojpunchihewa.glowbutton.GlowButtonResouce : github
app:buttonColor="@color/background_color_red"
app:unpressedGlowSize="20dp"
app:pressedGlowSize="25dp"
app:glowColor="@color/glow_color_red"
app:cornerRadius="50dp"
/>
No comments:
Post a Comment