2017-07-12 11 views
-1

私はAndroidのペルシア語のテキストにいくつか問題があります。 私はIONライブラリとページコードを取得し、テキストビューでそれをロードしますが?文字ペルシア語のテキストの変更:Androidでペルシア語のテキストを使用するには?

sample image

+0

あなたはより多くを説明しますか? – MeHdi

+0

を助けるためのtnx私はutf-8エンコーディング(instsページのリンクです)のhtmlページを受け取ります – MehrabMMP

+0

あなたのXMLコードを投稿しますか?(あなたはそれを郵便配達員と一緒にテストしましたか? ? – MeHdi

答えて

0

私のXMLコード

<?xml version="1.0" encoding="utf-8"?> 
    <RelativeLayout 
    xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    xmlns:app="http://schemas.android.com/apk/res-auto" 
    android:backgroune3d="#f9faf9"> 

    <ScrollView 
     android:layout_width="match_parent" 
     android:layout_height="match_parent"> 

     <RelativeLayout 
      android:layout_width="match_parent" 
      android:layout_height="match_parent"> 

      <TextView 
       android:id="@+id/txttest" 
       android:layout_width="match_parent" 
       android:layout_height="wrap_content" 
       android:textSize="18dp" /> 
    </RelativeLayout> 
    </ScrollView> 
    </RelativeLayout> 
関連する問題