We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
默认情况下,DialogX 的字号使用 dp 为单位,其目的是在不同分辨率的屏幕小保持与 UI 设计风格一致的文本显示样式,要调整样式,请参考 wiki 中关于各部分组件的字体样式调整说明,例如 MessgaeDialog 的文本样式调整你可以 在这里 找到对应的方法,DialogX 也提供了全局调整的方法,你可以 在这里 找到。
DialogX 的文本样式调整需要你构建一个 TextInfo 配置信息,其中可以通过 .setFontSizeUnit(FONT_SIZE_UNIT) 来指定文本大小的单位,其中 FONT_SIZE_UNIT 是一个枚举,提供 DP、PX、SP 可选。
TextInfo
.setFontSizeUnit(FONT_SIZE_UNIT)
FONT_SIZE_UNIT
DP
PX
SP
Sorry, something went wrong.
长时间未收到回复暂时关闭了此问题,若有疑问请继续回复。此消息来自于自动化 Issues 处理 Bot,若问题严重或紧急你也可以通过反馈群联系到我:590498789
No branches or pull requests
功能建议
需求描述:
The text was updated successfully, but these errors were encountered: