How To Make Button Border Android

[Solved] How To Make Button Border Android | Swift - Code Explorer | yomemimo.com
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

Answers related to how to make button border android

Code Explorer Popular Question For Swift