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

Right-To-Left Support #28

Open
tsadoklf opened this issue Sep 6, 2016 · 2 comments
Open

Right-To-Left Support #28

tsadoklf opened this issue Sep 6, 2016 · 2 comments

Comments

@tsadoklf
Copy link

tsadoklf commented Sep 6, 2016

The sample code does not support rtl support.

@abbasalim
Copy link

hello, for Rtl:
in toolbar layout in xml change 'title' textview width to match_parent and in AvatarImageBehavior change
mFinalXPosition in maybeInitProperties method to this :
if (mFinalXPosition == 0) //changed for RTL//-50 needed for Image position in toolbar mFinalXPosition = mContext. getResources().getDisplayMetrics().widthPixels-50;//mContext.getResources().getDimensionPixelOffset(R.dimen.abc_action_bar_content_inset_material) + ((int) mCustomFinalHeight / 2);//// TODO: 16/11/2016
اگه خواستید فارسی بنویسم ;)

@3llomi
Copy link

3llomi commented Jan 12, 2017

@abbasalim thanks man ,it's working :)

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