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

字体颜色为白色问题 #25

Open
HurryCong opened this issue Jul 4, 2019 · 11 comments
Open

字体颜色为白色问题 #25

HurryCong opened this issue Jul 4, 2019 · 11 comments

Comments

@HurryCong
Copy link

您好,请问下InputTextDialog的hint、ChooseListDialog的item文字和取消按钮的字体都显示为白色是什么原因?

@vincent-series
Copy link
Owner

你好,InputTextDialog的hint、ChooseListDialog的item文字和取消按钮的字体颜色,库没有显示设置,使用的是当前主题的默认颜色。是否与你的主题有关系,可否截图看一下效果,取消按钮是可以通过暴露的api设置字体风格的,其他没有暴露。

@HurryCong
Copy link
Author

image
image
image

@vincent-series
Copy link
Owner

vincent-series commented Jul 4, 2019

@color/app_theme_textColor的值是什么?是白色么?应该是和这个几个配置为白色有关系。你尝试修改这几个配置,看看颜色是否会出来。如果是这个问题。你可以为ChooseListDialog等设置主题。你先验证一下。

@vincent-series
Copy link
Owner

vincent-series commented Jul 4, 2019

如果不可以,我就发个新版本,所有颜色一律指定为具体颜色。库里其他dialog是否存在该情况?

@HurryCong
Copy link
Author

尝试修改了主题的colorPrimary,确定按钮颜色随着改变,但取消按钮和item文本还是不可以;也在其他项目尝试了下,也是这种情况;库里EntureDialog也是这样

@vincent-series
Copy link
Owner

这样吧,我把它改成具体的颜色,待会发布一个版本。发好了通知你。
你改一下你在主题里配置的android:textColor,或许有效。确定按钮的确是按照colorPrimary设置的,取消按钮是默认颜色。

@HurryCong
Copy link
Author

万分感谢[抱拳]

@vincent-series
Copy link
Owner

你好,新版已发,你试一下。2.7.7
如果你觉得好用,记得star一下,谢谢支持

@HurryCong
Copy link
Author

可以了,真心感谢![已star]

@scsfwgy
Copy link

scsfwgy commented Jul 10, 2019

ERROR: Failed to resolve: com.github.the-pig-of-jungle.smart-show:all:2.7.7 @the-pig-of-jungle

@vincent-series
Copy link
Owner

ERROR: Failed to resolve: com.github.the-pig-of-jungle.smart-show:all:2.7.7 @the-pig-of-jungle

你好,我这边测试没问题,检查一下,你在Project build 下,是否添加了如下配置:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants