Drawable rtl:
ImageView iv = (ImageView) view.getChildAt(1);
Drawable arrow = getResources().getDrawable(R.mipmap.ic_right_arrow);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
if (arrow != null) {
arrow.setAutoMirrored(true);
}
}
xml:
android:autoMirrored=“true”