You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can any body help me how can i modify source code ti support right to left? reference is on this link, but i can't understand me how can i modify that:
@MahdiPishguy Hi,sorry for late
here is my Full Code with support for Older APIs
`private void maybeInitProperties(CircleImageView child, View dependency) {
if (mStartYPosition == 0)
mStartYPosition = (int) (dependency.getY());
and here is the getLanguage method in Utilities Class public static String getLanguage(Context mContext) { Locale current = mContext.getResources().getConfiguration().locale; return current.getDisplayLanguage(); }
Activity
3llomi commentedon May 29, 2017
@MahdiPishguy Hi,sorry for late
here is my Full Code with support for Older APIs
`private void maybeInitProperties(CircleImageView child, View dependency) {
if (mStartYPosition == 0)
mStartYPosition = (int) (dependency.getY());
and here is the getLanguage method in Utilities Class
public static String getLanguage(Context mContext) { Locale current = mContext.getResources().getConfiguration().locale; return current.getDisplayLanguage(); }you can replace "العربية" with your language
pishguy commentedon May 29, 2017
@3llomi how can i change code to force move avatar image to right?
this code as:
mFinalXPosition = mContext.getResources().getDisplayMetrics().widthPixels - 50;not work correctly
please see this code: