Open tsadoklf opened 8 years ago
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
اگه خواستید فارسی بنویسم ;)
@abbasalim thanks man ,it's working :)
The sample code does not support rtl support.