Eu quero mostrar a linguagem Reginonal (Gurumukhi) no meu aplicativo Android
Eu quero a saída como mostrado na imagem abaixo
Este é um livro sagrado Sikh que usa a fonte Regional (Gurumukhi) e eu quero fazer um arquivo xml deste texto para usar a análise xml para mostrar na minha aplicação. Mas o problema é quando eu colo esta fonte no meu arquivo xml que converte em alguns alfabetos e símbolos como abaixo
jpujI swihb
<> siq nwmu krqw purKu inrBau inrvYru
Akwl mUriq AjUnI sYBM gur pRswid ]
] jpu ]
Awid scu jugwid scu ]
hY BI scu nwnk hosI BI scu ]1]
socY soic n hoveI jy socI lK vwr ]
cupY cup n hoveI jy lwie rhw ilv qwr ]
BuiKAw BuK n auqrI jy bMnw purIAw Bwr ]
shs isAwxpw lK hoih q iek n clY nwil ]
ikv sicAwrw hoeIAY ikv kUVY qutY pwil ]
hukim rjweI clxw nwnk iliKAw nwil ]1]
hukmI hovin Awkwr hukmu n kihAw jweI ]
hukmI hovin
Eu coloquei um arquivo de fonte Gurumukhi na pasta de ativos e use o código abaixo, que funciona bem
Typeface tf = Typeface.createFromAsset(getAssets(),
"fonts/bulara_5.ttf");
textView = (TextView) findViewById(R.id.textView1);
textView.setTypeface(tf);
textView.setMovementMethod(new ScrollingMovementMethod());
textView.setText(" <>siq nwmu krqw purKu inrBau inrvYru")
Dessa forma, o texto nessa visão de texto se converte no Gurumukhi, masHow can i create my Xml file for this type of text in it
. OuGive me some Good Suggestion that which way is better to work on this type of app and handle the text
. Eu tenho que mostrar 4-5 livros sagrados em um aplicativo e cada um tem 20-25 páginas. Qualquer ajuda é apreciada.