Ganpat Kaliya
Ganpat Kaliya

Reputation: 898

How to create loading screen in android?

I am developing an android app, in which I need a loading screen like the one given below. In this screen I want a custom progress bar and a loading text in the centre of the screen, and the background effect should be blurred. When the loading starts, the user should not be able to perform any action.

enter image description here

How can I create this type of loading screen?

Upvotes: 1

Views: 6771

Answers (2)

IntelliJ Amiya
IntelliJ Amiya

Reputation: 75788

@Ganpat Kaliya

Please check Transparent progress dialog on Android

Just set

setTitle(Loading...);

Upvotes: 2

Coas Mckey
Coas Mckey

Reputation: 709

I would suggest you to use the custom Progress dialog. The purpose of using progress dialog is that as you wanted the screen to be blur, so when ever you would bring Progress dialog to front the activity would get blur , additionally it is highly customize able , you can do what you want.

A very useful explanation is here and here. please check them out and apply.

Upvotes: 0

Related Questions