Search code examples
androidmaterial-designnativescript

Is there a way to create a flat button in Nativescript Android application?


Is there an easy way to get rid of the default shadow of raised buttons in Nativescript Android application? I'm trying to create a subtle button but can't find a way to make the button appear flat.


Solution

  • To get rid of the native button default, you can try setting border-width: 1; on the style.