Customizable Activity Indicator

Hello,

It would be nice to have a customizable Activity Indicator.
By customizable i mean just removing the black translucent background…
And then we could customize it, adding different background colors, progress bar, text, etc…

Thanks ! [import]uid: 3638 topic_id: 5197 reply_id: 305197[/import]

You can do this easily with a display group that’s set to the foreground in a frame event - that’s all the activity indicator is. Destroy it or set it’s alpha to zero when the activity is over.

[import]uid: 11393 topic_id: 5197 reply_id: 17298[/import]

Thanks Bedhouin,

But the advantage of the native activity indicator is that it disables event listeners (touch), and it’s also easy to use ( … what ? Am i lazy ? :slight_smile: ) [import]uid: 3638 topic_id: 5197 reply_id: 17337[/import]

Yeah fair enough. It’s a few extra steps - but so is everything else that you need to build. It all adds up to hard work and a lot of code.

But if you really wanted to do it you could also assign a touch/tap listener on your activity display group. If it retains focus and returns “true” nothing else underneath would get triggered while it is visible. That way you don’t have to manually disable your other listeners.

EDIT: And I think that’s exactly how Corona is doing it in the backend with the “native” activity indicator, because the Android activity sure doesn’t look native. [import]uid: 11393 topic_id: 5197 reply_id: 17356[/import]