MessageDialog设置明暗主题样式问题
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 158
- PR merge metrics
- No merged PRs in 30d
Description
` MessageDialog.build(mActivity as AppCompatActivity).setStyle(DialogSettings.STYLE.STYLE_IOS).setTheme(DialogSettings.THEME.LIGHT).setTitle("提示").setMessage("确定退出登录?").setOkButton("确定") { baseDialog, v ->
false
}.setCancelButton("取消") { baseDialog, v -> false }.show()`
设置暗色主题无问题,设置亮色主题时,弹框背景为灰色,不是纯白色。
大佬,是还需要配式什么样式吗?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the MessageDialog entry point and inspect how DialogSettings.STYLE_IOS and DialogSettings.THEME.LIGHT determine the dialog background. Reproduce the provided Kotlin usage with the LIGHT theme and compare it with the working dark theme. Done means the light-theme dialog background is pure white rather than gray.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100