Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Loading bar, title - everything showing. #16

Closed
soenkegissel opened this issue May 31, 2022 · 8 comments
Closed

[BUG] Loading bar, title - everything showing. #16

soenkegissel opened this issue May 31, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@soenkegissel
Copy link

Using API 28 Simulator and Samsung S10 API 31.
Init like this:

ProgressDialog progressDialog;
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_FOLLOW_SYSTEM);
        } else {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_LIGHT);
        }
progressDialog.show()

Same for both devices:
image

@soenkegissel soenkegissel added the bug Something isn't working label May 31, 2022
@techinessoverloaded
Copy link
Owner

techinessoverloaded commented Jun 1, 2022

Using API 28 Simulator and Samsung S10 API 31. Init like this:

ProgressDialog progressDialog;
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_FOLLOW_SYSTEM);
        } else {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_LIGHT);
        }
progressDialog.show()

Same for both devices: image

Hi,
Thanks for pointing out this issue. May I know which Version of the Library you are using ?

@soenkegissel
Copy link
Author

1.4.4

@techinessoverloaded
Copy link
Owner

techinessoverloaded commented Jun 1, 2022

Usually, AlertDialog is buggy when used with Fragment. ProgressDialog uses AlertDialog behind the scenes.

@techinessoverloaded
Copy link
Owner

Anyway, I will check out if the issue is on my code. If it is so, I will resolve it in the next version.

@techinessoverloaded
Copy link
Owner

@soenkegissel You can also give a pull request for solving the issue if possible.

@techinessoverloaded techinessoverloaded pinned this issue Jun 1, 2022
@mg2000
Copy link

mg2000 commented Jun 7, 2022

I have same problem.

@techinessoverloaded
Copy link
Owner

I have same problem.

Hi, I will fix that problem in the upcoming version. Please use version 1.3.1 until then.

@techinessoverloaded
Copy link
Owner

@soenkegissel @mg2000 I have fixed this bug in version 1.5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants