UXDivers / Grial-UI-Kit-Support

This is our public repository for customers to report bugs about Grial UI Kit for Xamarin Forms
61 stars 26 forks source link

switch cell looks not good on android #104

Open softsan opened 7 years ago

softsan commented 7 years ago

I used grai uikit in one of Xamarin.Forms app. I noticed that the switch cell of "TableView" is looks different in Android. Please see below image:

switchcell

the code is:

<TableView Intent="Settings">
            <TableRoot>
TableSection Title="Notification">

                    <SwitchCell On="true" Text="Email" />

                    <SwitchCell On="true" Text="SMS" />
                    <SwitchCell On="true" Text="PUSH" />
                </TableSection>
</TableRoot>
</TableView>

Also notices that in iOS, the "Tapped" event of "Text Cell" doesn't work. while the same is working fine on droid.

jpbrocca commented 7 years ago

Hi @softsan,

I am not sure what you are asking about the look and feel of the switches but if you mean that they are different on Android and iOS that is the expected result.

How are you managing the tapped event on the TextCell and what iOS version are you testing with ?

Regards and thanks, JP

softsan commented 7 years ago

Hi @jpbrocca, Thanks for your reply. I know that the switch cell will looks different on both platform. but what i am trying to say that it not looks like a standard android switch. I have a sample project where i didn't use grailui kit, so it looks good as per the standard android switch as shown in below image: switchimage

so if you compare this switch with the my previous captured image(where we integrate GrailUI Kit), it looks different.

Hope you get my point.

jpbrocca commented 7 years ago

Hi @softsan, OK, now I understand. When I first look at your android capture I didn't noticed that the switches looked somehow clipped.

What happens if you use just a Switch? Do you get a similar result or those are renderer OK ? Last question: Which android version are you trying with ?

Regards and thanks, JP

marketdevsoft commented 1 year ago

I have same issue with the switch... I use .net maui and in grial ui-kit tabbedloginpage, for example, the remember-me switch is this:

It looks not good in my android :

android_switch

Is possible to use grial-switch-component ?