Bug 27095 - SwitchCell behaves different from TextCell
Summary: SwitchCell behaves different from TextCell
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: Macintosh Mac OS
: Normal minor
Target Milestone: ---
Assignee: Rui Marinho
Depends on:
Reported: 2015-02-16 08:00 UTC by web
Modified: 2016-12-13 23:08 UTC (History)
7 users (show)

Tags: AC
Is this bug a regression?: ---
Last known good build:

Screenshot for SwitchCell (69.80 KB, image/png)
2015-02-16 08:00 UTC, web

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description web 2015-02-16 08:00:47 UTC
Created attachment 9848 [details]
Screenshot for SwitchCell

SwitchCell has a different intent from TextCell or EntryCell on Android. It's much bigger. It seems also has a little different color than TextCell.

For both see attached screenshot. At the bottom is a normal TextCell, in the middle are to SwitchCells.

I use the following code for TableRoot with Xamarin.Forms 1.3.4-pre4

	var tableView = new TableView() 
			BackgroundColor = App.Colors.Background,
			Intent = TableIntent.Settings,
			Root = tableRoot,
			HasUnevenRows = true,
Comment 1 Ram Chandra 2015-02-16 12:13:52 UTC

*** This bug has been marked as a duplicate of bug 27096 ***
Comment 2 web 2015-02-16 13:54:57 UTC
Sorry, but this is not a duplicate of 27096, because 27096 is about EntryCell, this bug here is about SwitchCell. Thats different.

If you close this bug, you should say in 27096, that this is a bug of SwitchCell too.
Comment 3 web 2015-03-11 15:04:54 UTC
This isn't a duplicate. TextCell is now correct, but the ident of SwitchCell isn't correct up to now on Android.
Comment 4 Jason Smith [MSFT] 2015-07-08 05:51:01 UTC
Should be fixed in 1.4.4-pre1
Comment 5 Parmendra Kumar 2015-07-16 13:12:13 UTC
I have checked this issue with Xamarin.Forms 1.4.4-pre1 and observed that SwitchCell has a same intent from TextCell on Android.

But I have also getting following behavior:

1. TextCell also has a little different color than SwitchCell and EntryCell.
2. EntryCell has a different intent from TextCell and SwitchCell on Android.

Screencast: http://www.screencast.com/t/BrZbbef3MlD

Hence reopen this issue.
Comment 6 Jimmy [MSFT] 2016-12-13 23:08:02 UTC
Using the repro project from bug 27096, the indent and text color of a SwitchCell appears the same as a TextCell with Forms