when write content in arabic inside textview first word in each line cutting!!
this problem happen when set typeface textview!
here xml code
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <textview android:layout_width="fill_parent" android:layout_height="wrap_content" android:scrollbars="vertical" android:id="@+id/articletext" />
note: content retrieve sqlite database.
it work,add padding in linear layout , take width of textview match parent.
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="4dp"> <textview android:id="@+id/articletext" android:layout_width="match_parent" android:layout_height="wrap_content" android:scrollbars="vertical" /> </linearlayout>