1

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?

ekhumoro
  • 115,249
  • 20
  • 229
  • 336
Ganpat Kaliya
  • 888
  • 2
  • 9
  • 16
  • What have yo tried so far ? – Francis Toth Sep 07 '15 at 12:50
  • Not very clearly something you want. For loading bar will suffice any appropriate View. To lock user environment will be enough any View on all the elements. (coarse resolution) But background downloading resources absolutely other conversation. – user2413972 Sep 07 '15 at 13:03

2 Answers2

2

@Ganpat Kaliya

Please check Transparent progress dialog on Android

Just set

setTitle(Loading...);
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
0

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.

Community
  • 1
  • 1
Coas Mckey
  • 701
  • 1
  • 13
  • 39
  • It Is display dialog what I don't need. only progress bar and loading text. – Ganpat Kaliya Sep 07 '15 at 13:06
  • you can set the background of the dialog to the transparent which will give the same result as you wanted , if you also want to hide the title it can also be achieved , I cant see that you can not customize it as you wanted. it is really very easy – Coas Mckey Sep 07 '15 at 13:09