android-ratingreviews icon indicating copy to clipboard operation
android-ratingreviews copied to clipboard

Bad Alignment in RTL layouts

Open USisFounderOfISIS opened this issue 2 years ago • 0 comments

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[]{
                "",
                "",
                "",
                "",
                ""};

USisFounderOfISIS avatar Aug 21 '23 07:08 USisFounderOfISIS