XamEffects icon indicating copy to clipboard operation
XamEffects copied to clipboard

Touch effect does not show

Open DamienDoumer opened this issue 5 years ago • 4 comments

HI, I'm trying to implement a Fab which has touch effects, but the effects do not show up. unless I reload the control using hotreload. I applied it to a contentView as mentioned in your readme hopping that this will make it appear, but nothing, The command works very well but not the effect


<xamEffects:BorderView HeightRequest="{Binding Size, Source={x:Reference fab}}"
                               WidthRequest="{Binding Size, Source={x:Reference fab}}"
                               CornerRadius="360"
                               BackgroundColor="Transparent">
                <ContentView xamEffects:TouchEffect.Color="{Binding Source={x:Reference fab}, Path=EffectColor}"
                             xamEffects:Commands.Tap="{Binding ClickedCommand, Source={x:Reference fab}}"
                             BackgroundColor="{Binding FabBackground, Source={x:Reference fab}}">
                    <Label Style="{StaticResource FontAwesomeSolidLabel}"
                           Text="{Binding Source={x:Reference fab}, Path=FontIcon}"
                           FontSize="Large" HorizontalOptions="Center"
                           VerticalOptions="Center"
                           TextColor="{Binding Source={x:Reference fab}, Path=IconColor}"/>
                </ContentView>
            </xamEffects:BorderView>

DamienDoumer avatar Dec 03 '19 21:12 DamienDoumer

Hi, ios/android? Xamarin.forms version?

mrxten avatar Dec 09 '19 17:12 mrxten

Hi, Android.

Le lun. 9 déc. 2019 à 18:41, Vladislav Zhukov [email protected] a écrit :

Hi, ios/android? Xamarin.forms version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrxten/XamEffects/issues/44?email_source=notifications&email_token=AD7UXCMXV66Y7Q5SET33S33QXZ7MXA5CNFSM4JU7E6O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGKAUIY#issuecomment-563350051, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7UXCOFQDZP47W75ZSDGQDQXZ7MXANCNFSM4JU7E6OQ .

DamienDoumer avatar Dec 09 '19 17:12 DamienDoumer

Which version of Xamarin.Forms

mrxten avatar Dec 25 '19 08:12 mrxten

Android 9, on a huwawei phone, honor 9 lite XamarinForms 4.2

DamienDoumer avatar Dec 28 '19 08:12 DamienDoumer