Skip to content

Instantly share code, notes, and snippets.

@mahdimortazavi
Created June 13, 2016 13:37
Show Gist options
  • Save mahdimortazavi/6864d7f4e2e1d054105def48b83be9ef to your computer and use it in GitHub Desktop.
Save mahdimortazavi/6864d7f4e2e1d054105def48b83be9ef to your computer and use it in GitHub Desktop.
rtl all views in activity
getWindow().getDecorView().setLayoutDirection(View.LAYOUT_DIRECTION_RTL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment