diff options
Diffstat (limited to 'src/com/android/bitmap/view')
-rw-r--r-- | src/com/android/bitmap/view/BitmapDrawableImageView.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/bitmap/view/BitmapDrawableImageView.java b/src/com/android/bitmap/view/BitmapDrawableImageView.java index 5cbc58d..12e5b0e 100644 --- a/src/com/android/bitmap/view/BitmapDrawableImageView.java +++ b/src/com/android/bitmap/view/BitmapDrawableImageView.java @@ -157,4 +157,12 @@ public class BitmapDrawableImageView extends ImageView { unbindDrawable(TEMPORARY); } } + + @Override + public void onRtlPropertiesChanged(int layoutDirection) { + super.onRtlPropertiesChanged(layoutDirection); + if (mDrawable != null) { + mDrawable.setLayoutDirectionLocal(layoutDirection); + } + } } |