[Bug] Dialog Fragments do not follow Dark theme
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@4shutosh 👍👍