question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Dialog Fragments do not follow Dark theme

See original GitHub issue

Describe the bug

DialogFragments (example: from settings activity) do not follow the theming options of the app

How to Reproduce

Open Settings Screen:

  • Click on Fire Button Animation (Dark theme being enabled)
  • The dialog does not follow the dark theme

Expected behavior

  • The dialog fragments should follow the app theming options

Environment

- DDG App Version: develop branch
- Device: Pixel 4XL
- OS: Android 11

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
4shutoshcommented, Sep 6, 2021

Got it @malmstein Thank you for the explanation.

I’ll try to look into some issues which won’t require an internal process for further continuity 😃 Also please feel free to assign me any issue/task of your choice, I’ll be more than happy to work on it.

0reactions
cmonfortepcommented, Sep 13, 2021

@4shutosh 👍👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theme not applying to DialogFragment on Android
I'm using the DialogFragment from the compatibility library v4, and in the onCreate method I've tried calling setStyle(style, theme); with a lot ...
Read more >
Using DialogFragment | CodePath Android Cliffnotes
DialogFragment is a specialized Fragment used when you want to display an overlay modal window within an activity that floats on top of...
Read more >
Dark theme - Android Developers
Dark theme applies to both the Android system UI and apps running on the device. There are three ways to enable Dark theme...
Read more >
Fixing text colors on an AlertDialog when using Theme.Light
We're using an AlertDialog to display information about the app, and everything works fine when the app is using the normal “dark” theme…but ......
Read more >
Show BottomSheetDialogFragment changes status bar color ...
As a comparison: the status bar in the google drive app does not become black when bottom sheet dialog fragment opens.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found