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

Bad Alignment in RTL layouts #22

Open
USisFounderOfISIS opened this issue Aug 21, 2023 · 0 comments
Open

Bad Alignment in RTL layouts #22

USisFounderOfISIS opened this issue Aug 21, 2023 · 0 comments

Comments

@USisFounderOfISIS
Copy link

USisFounderOfISIS commented Aug 21, 2023

Describe the bug
It seems that bars are aligned to their labels, and this produce bad output in RTL layouts.

To Reproduce
Set android:layoutDirection="rtl"

Expected behavior
in RTL layouts bars should be aligned in right relative to each other.

Screenshots
image

Of course we can define empty strings (bars without any labels) to make bar alignment correct:

final String[] myStyle = new String[]{
                "",
                "",
                "",
                "",
                ""};
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

1 participant