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

Making TagView Right To Left #5

Closed
doorbash opened this issue Apr 27, 2015 · 5 comments
Closed

Making TagView Right To Left #5

doorbash opened this issue Apr 27, 2015 · 5 comments

Comments

@doorbash
Copy link

Hi,Tnx for your great work Kaedea.
I'm going to make TagView right to left since in my country Iran the language (Persian) is right to left.
I mean I need the tags to be set from right and another tag that will be added later set to left of it.
How can I do that?
Can you develop the code and add this option to it please?

@amirghm
Copy link

amirghm commented Apr 27, 2015

I myself try to change the library, (for example change gravity and change rule of Right_Of to Left_Of) but no luck! After assigning this change, the tags will drawn erroneously and in some cases draw in front of previous tag.

please provide a way

thanks a lot

@kaedea
Copy link
Owner

kaedea commented Apr 27, 2015

Would you please offer me a sreenshot?
Okay, I am now upgrading this project, fixing some bugs and adjust it into a gradle project. It may take some time because I am coming into beasy season with my job.
You can show me some image about the problem via kidhaibara@gmail.com

@kaedea
Copy link
Owner

kaedea commented Apr 27, 2015

to mi1s0n
So you want to show Tag in and right-to-left order? Like:
add TagA;
add TagB;
add TagC;
but show " TagC TagB TagA "?

@amirghm
Copy link

amirghm commented Apr 27, 2015

no let me I describe what we want (me and milson is friends).

in Persian, our language start from right to left. so all of our layout should start from right to left.
but in English and default android, layouts start from left to right.
I and milson try to customize this library to achieve this, but can't.

you can see in this image what we want:
http://i.imgur.com/Thlfvf8.png

we want the layout starts from right to left not left to right

@amirghm
Copy link

amirghm commented Apr 27, 2015

wow! I've solve it!!
I assign TagView ScaleY = -1 and item_tagview linearlayout container ScaleY= -1.
this is silly work but a powerful way to solve this issue!!
thank you again :)

@kaedea kaedea closed this as completed May 13, 2015
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