简体   繁体   中英

right to left tex in android

我正在尝试在 android 上显示波斯文本(也加载波斯字体)并且它连续显示但它是从左到右而不是从右到左例如: سلام 将显示为 م ا ل س(我使用 ndk 和 cocos2d-x )

将 layout.directions 设置为 ALIGN_OPPOSITE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM