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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Define progress bar in xaml

Thread ID:

Created:

Updated:

Platform:

Replies:

142470 Feb 5,2019 04:09 PM UTC Feb 8,2019 01:07 PM UTC Xamarin.Android 1
loading
Tags: SfProgressBar
Djamila Ritchie
Asked On February 5, 2019 04:09 PM UTC

Hello,

I am using SfCircularProgressBar in  the Android toolbar Layout.

Is it possible to include the progress bar in the Toolbar xaml layout file?

My issue is that the toolbar get reset by Android during configuration change. And any layout defined in code is no longer accessible. 
I am using Xamarin forms so need to include ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation
in the Main Activity to avoid recreating the Xforms app.

Thank you very much for your help.

Djamila


Bharathiraja K [Syncfusion]
Replied On February 8, 2019 01:07 PM UTC

Hi Djamila, 
  
Greetings from Syncfusion.

Query: “Toolbar get reset by Android during configuration change”

We have analyzed the reported issue and when removing the ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation in MainActivity.cs file means it’s recreated the app is a general behavior. We have checked with the Xamarin Progress control, same behavior is reproduced.

In our latest Xamarin Forms project, the configuration changes lines will be added automatically when creating a app. So, if you using a Xamarin forms project, the configuration lines will be automatically added in your android project.

Please let us know if you have any other concern.

Regards,
 
Bharathiraja. 


CONFIRMATION

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

;