We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Xamarin.Forms Android - SFRotator NavigationStripMode.Thumbnail causes error: Java.Lang.IllegalArgumentException width and height must be > 0

Thread ID:





141622 Dec 21,2018 08:46 AM UTC Dec 24,2018 11:23 AM UTC Xamarin.Forms 1
Tags: SfRotator
Asked On December 21, 2018 08:46 AM UTC

Hello Syncfusion,

I am currently using the SFRotator control in my Xamarin.Forms project. Everything is working as expected in iOS with no issues, but on the Android environment, I am observing the following error if my NavigationStripMode is set to NavigationStripMode.Thumbnail.

Java.Lang.IllegalArgumentException width and height must be > 0

When I set the NavigationStripMode to NavigationStripMode.Dots, I no longer get the error on the Android environment. However, all of my images are not rendered in the SFRotator control. In the iOS environment, all images in the SFRotator are displayed.

Please advise on what I can do to work around this issue.

Kind Regards

Dhanasekar R [Syncfusion]
Replied On December 24, 2018 11:23 AM UTC

Hi Kenzo,

Greetings from Syncfusion. 
We have validated your reported issue “An exception occurs when setting NavigationStripMode as thumbnail” in the latest version and we are unable to reproduce the reported issue from our side. We have prepared the sample to show that rotator works fine when setting the “NavigationStripMode” as thumbnail. Please have the sample from the below link. 
Please check our sample and if the issue persists in your side, please modify our sample to replicate the issue so that we can give an appropriate solution for the reported issue. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon