nativescript-floatingactionbutton icon indicating copy to clipboard operation
nativescript-floatingactionbutton copied to clipboard

Changing color to text does not work

Open wuilmerj24 opened this issue 4 years ago • 6 comments

tns: 6.8.0 tns-core-modules:6.5.21 tns-android:6.5.3 tns-ios:6.5.3 angular:8 HTML: <FAB (tap)="openMenu($event)" text="Iniciar" rippleColor="#f1f1f1" class="btn-init"></FAB>

Scss: width: 80; height: 80; background-color: #A7CF45; font-size: 7; font-weight: bold; color: #ffffff;

The text is only black. It does not change it.

fab

wuilmerj24 avatar Nov 09 '20 22:11 wuilmerj24

Did you find a solution for this? I am having the same problem on Android. The color works fine on iOS.

sublime392 avatar Aug 04 '21 19:08 sublime392

@sublime392 Create a button to which you add a loaded. There specify styles for android.

wuilmerj24 avatar Aug 04 '21 21:08 wuilmerj24

How exactly did you fix this? I just bumped into this problem.

guillemc23 avatar Feb 19 '23 17:02 guillemc23

@guillemc23 What I did was create a nativescript button and apply the styles to it. Quit box-shadow borders, backgroundColor. With this it should work

wuilmerj24 avatar Feb 20 '23 01:02 wuilmerj24

I tried to fix this with a PR, let see if it gets merged it soon enough

guillemc23 avatar Feb 20 '23 18:02 guillemc23

@guillemc23 Use the FAB Material plugin!

wuilmerj24 avatar Feb 20 '23 19:02 wuilmerj24