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

Add support for RTL layout #48

Open
BloCamLimb opened this issue Aug 22, 2021 · 2 comments
Open

Add support for RTL layout #48

BloCamLimb opened this issue Aug 22, 2021 · 2 comments

Comments

@BloCamLimb
Copy link

Your code shows that only when button thumb is visually on the left, it's unchecked. But in RTL layout, it should be resolved on the opposite side. This leads to poor compatibility for internationalization purposes. You may check isLayoutRtl() first just like Android's Switch.

您的代码显示,只有当按钮拇指在视觉上位于左侧时,它才处于未选中状态。但在RTL布局中,它应该解析在另一侧。这导致国际化方面的兼容性很差。您可以像 Android 的 Switch 一样,先判断 isLayoutRtl()

@Ammar64
Copy link

Ammar64 commented Oct 24, 2024

Please fix as fast as possible.

@developmans
Copy link

developmans commented Oct 24, 2024 via email

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