How to Set Android Button and TextView Border Color

Android button is a child view which consists of text or an icon or both. TextView is also child view in android. Here, I have shown how to set border color in android buttons and textviews. 

I have created an android Button and TextView and have set the background color. Then, I have set border width 5dp and border color white from drawable resource and you can change that according to your needs.

Buttons - Android Button Examples
Relative Layout - Views Position in Android
How to Change Android Button on Click/Press Color
How to Add Ripple Effect/Animation to a Android Button





Button and TextView Border Color in Android

XML 1077114878382272439
Home item