Grzegorz Aperliński Grzegorz Aperliński - 1 month ago 6
Android Question

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.

Answer

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

Comments