- Home /
Display Activity indicator center
I have below code for display activity indicator. But it's showing top of the screen. I need to display center of the screen.
IEnumerator Load()
{
#if UNITY_IPHONE
Handheld.SetActivityIndicatorStyle(iOSActivityIndicatorStyle.Gray);
#elif UNITY_ANDROID
Handheld.SetActivityIndicatorStyle(AndroidActivityIndicatorStyle.Small);
#endif
Handheld.StartActivityIndicator();
yield return new WaitForSeconds(0);
Application.LoadLevel("25Nov1");
}
if(GUILayout.Button("Start", startbtnstyle)){
StartCoroutine(Load());
}
is it supposed to be elseif? just a stab or is this pseudo code?
I have the very same problem. Is there any way? $$anonymous$$aybe by editing the Android$$anonymous$$anifest.xml?
(Dizmiester: it is called "Preprocessor Directives". Google it, it's useful.)
I have the very same problem. Is there any way? $$anonymous$$aybe by editing the Android$$anonymous$$anifest.xml?
(Dizmiester: it is called "Preprocessor Directives". Google it, it's useful.)
There must be a way to do this! I can't find anything in the manifest that sets this and there are no layouts. Please help!
Your answer
![](https://koobas.hobune.stream/wayback/20220613125422im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get current battery life on mobile device 3 Answers
Android Build has issues 1 Answer
Having 10 Levels in 1 Scene? 1 Answer
RPG style controls for iOS/Android 0 Answers
Codeless IAP not working, prompt to buy does not appear on iOS devices 1 Answer