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

not working when in Rtl layout #24

Open
armata99 opened this issue Oct 21, 2019 · 6 comments
Open

not working when in Rtl layout #24

armata99 opened this issue Oct 21, 2019 · 6 comments

Comments

@armata99
Copy link

when i switch layout to Rtl texts and icons not showing. also clicks not respond

@armata99
Copy link
Author

armata99 commented Oct 21, 2019

worse than that is currently I added 4 children to linearView but cant perform click on them.
when I do click it switches to last child.

@Tsabary
Copy link

Tsabary commented Nov 6, 2019

Yeah same issue.

@Tsabary
Copy link

Tsabary commented Nov 6, 2019

I can click no problem but it doesn't show any icons or title as mentioned by op.

@charafboulmerka
Copy link

Hello friends
i solved the problem by just adding this line : android:layoutDirection="ltr"
to your view
com.gauravk.bubblenavigation.BubbleNavigationConstraintView

and here is an example

<com.gauravk.bubblenavigation.BubbleNavigationConstraintView android:id="@+id/top_navigation_constraint" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/dark_gray" android:elevation="0dp" android:layoutDirection="ltr" app:bnc_mode="inside" app:hideOnScroll="true">

@DearBahman
Copy link

RTL Now Working. not in layout and also not in animation.
I acted on the comments of @charafboulmerka , but I still didn't get the result.

@Parrou
Copy link

Parrou commented Jun 1, 2020

@DearBahman
The solution is to arrange the items from right to left, do this manually for each item. 😉

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

5 participants