List of usage examples for android.content.res Configuration SCREENLAYOUT_LAYOUTDIR_MASK
int SCREENLAYOUT_LAYOUTDIR_MASK
To view the source code for android.content.res Configuration SCREENLAYOUT_LAYOUTDIR_MASK.
Click Source Link
From source file:com.android.screenspeak.controller.GestureControllerApp.java
private boolean isScreenLayoutRTL() { Configuration config = mService.getResources().getConfiguration(); if (config == null) { return false; }/*from w w w. j a va 2s . com*/ return (config.screenLayout & Configuration.SCREENLAYOUT_LAYOUTDIR_MASK) == Configuration.SCREENLAYOUT_LAYOUTDIR_RTL; }