How to draw RTL text (Arabic) onto a Bitmap and have it ordered properly?

后端 未结 2 610
梦谈多话
梦谈多话 2020-12-19 15:27

I\'m trying to draw Arabic text onto a Bitmap for display:

Bitmap img = Bitmap.createBitmap( (int) f+100, 300, Config.RGB_565);
Canvas c = new Canvas();
c.se         


        
2条回答
  •  借酒劲吻你
    2020-12-19 15:51

    if you added single line attribute to textview ,you should delete this attribute and add maxLines="1"

提交回复
热议问题