Android Progressdialog Position Issue And Do We Have Android's Progressdialog From Platform Or Support Library?
I had this ProgressDialog working fine when my device was in 4.4.4 and I was not working on this app recently and device is upgraded to Lillipop mean while. I am not sure if this h
Solution 1:
To show progressDialogs with material design style, I use Material-Dialogs library.
Greetings
UPDATE
The app build.gradle must have the next configuration for repositories and dependencies in the same file:
In Android closure:
android { compileSdkVersion 23 buildToolsVersion "23.0.2" ...[your configuration] }
And Repositories/Dependencies closure:
repositories { maven { url "https://jitpack.io" } } dependencies { compile('com.github.afollestad.material-dialogs:core:0.8.5.1@aar'){ transitive = true } }
Solution 2:
For 1),
This worked instead of the code in question:
mProgressDialog = ProgressDialog.show(this, title, getResources().getString((R.string.progress_please_wait)), true);
I did not explore what difference it makes technically.
Post a Comment for "Android Progressdialog Position Issue And Do We Have Android's Progressdialog From Platform Or Support Library?"