AppCompatDelegate.setApplicationLocales(LocaleListCompat.create(Locale.forLanguageTag(sLang)));
is nice to set RTL layouts in apps, works fine.
But I have an Android app with a TabLayout with pagers and an extended BaseAdapter with text data tables made of text cells (writing them line by line). Same base adapter used for all tab pages but with different data.
The different BaseAdapter can even be with the same data with different filter settings (showing the same data more or less).
- It would be interesting if the base adapter could have different locales (LTR or RTL) for each tab page? Same page in English and Urdu text and layout as two different tab-pages for example?
AppCompatDelegate.setApplicationLocales()
changes the whole app?- Any good suggestion if it is possible?
- I guess I'm not the only one asking for that, like in translation text apps, I guess it's needed?