admin管理员组文章数量:1345289
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?
本文标签: javaSet RTL in one Layout but not in others in the same appStack Overflow
版权声明:本文标题:java - Set RTL in one Layout but not in others in the same app? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743806901a2542341.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论