Question : how to make button border android
Answered by : al-zaini-azharie
//you can replace button with material button and changes style with
//materialButtonOutlinedStyle
//but first you must add dependencies on build.gradle
dependencies{ ... implementation 'com.google.android.material:material:1.3.0'
}
//on your layout
<com.google.android.material.button.MaterialButton ... style="?attr/materialButtonOutlinedStyle" app:strokeColor="@color/border_color"/>
Source : | Last Update : Fri, 08 Jul 22