ActivityIndicator pops up underneath heavyweight window!

You must Login before you can answer or comment on any questions.

Hi,

My application has a root TabGroup as the base. I am poping open heavyweight windows over the tabgroup to display information as required. Sometimes I have the need to display things modally from the pop-up window. Eg:

Case:

Tabgroup opens window A and then window A displays an activity Indicator during computations and then pops a AlertDialog.

Problem:

Since window A is a heavyweight window ( I had to make it heavy weight in order for them to be displayed over the tabgroup), any other modal windows drops below the window stack. i.e. activityIndicator.show() pops the indicator over the tabGroup and under the current window (Window A).

Window A is made a heavyweight window by setting :

fullscreen      : false,
exitOnClose : false
Is there a way to ensure that modal window items such as AlertDialogues and ActivityIndicators are always displayed above everything else?

— asked 8 months ago by Dinesh Vitharanage
2 Comments
  • Hi Dinesh, few information which is missing is: platform (iOS or Android).

    one question:

    are you not able to see the activity indicator when it shows on the window?

    — commented 8 months ago by Ashish Nigam

  • Dinesh, to be very honest, you should try changing your design and instead of showing everything on top of one another, try displaying it in separate window and where there is a need to show one activity on top of another that should be between not more than two activities.

    — commented 8 months ago by Perminder Singh Bhatia

Your Answer

Think you can help? Login to answer this question!