Is there a way to identify RTL (right-to-left) language, apart from testing language code against all RTL languages?
Since API 17+ allows several resources for RTL a
You can use TextUtilsCompat from the support library.
TextUtilsCompat.getLayoutDirectionFromLocale(locale)