예제 #1
0
 public static boolean isRtl() {
   return TextUtilsCompat.getLayoutDirectionFromLocale(Locale.getDefault())
       == ViewCompat.LAYOUT_DIRECTION_RTL;
 }
예제 #2
0
 private static boolean b(Locale locale) {
   return TextUtilsCompat.getLayoutDirectionFromLocale(locale) == 1;
 }