2013-08-23 11 views
7

में सामग्री काटने के दौरान टेक्स्टव्यू के अंदर अरबी में सामग्री लिखते समय प्रत्येक पंक्ति में पहला शब्द काट देगा !!टेक्स्ट व्यू

यह समस्या तब होती है जब मैं टाइपफ़ेस को टाइपफ़ेस सेट करता हूं!

cuttig

यहाँ मेरी एक्सएमएल कोड

<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" 

    /> 

ध्यान दें: सामग्री SQLite डेटाबेस से प्राप्त हो सकें।

+0

कोशिश जोड़ने गद्दी यह मदद – KOTIOS

+1

हो सकता है अरबी नहीं "पीछे की ओर" अंग्रेज़ी की तुलना में? आपको टेक्स्ट दिशा की आवश्यकता है ना? – ChiefTwoPencils

+1

^गुड कैच @ बॉबी डिजीटल –

उत्तर

0

इस प्रयास करें ...

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:orientation="vertical" 
    android:padding="10dp" 
> 
<TextView 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:scrollbars="vertical" 
    android:id="@+id/articleTEXT" 

    /> 
1

यह काम रेखीय लेआउट में गद्दी जोड़ सकते हैं और TextView मैच माता पिता की चौड़ाई ले जाएगा।

<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> 
0

अपने टेक्स्टव्यू में दाएं गुरुत्वाकर्षण सेट करें और फिर पैडिंग को 20 डीपी पर सेट करें।

या अपने लाइनरलेआउट में बस padding=30dp डाल दें।

0

इस

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:orientation="vertical" 
android:layout_margin="5dp"> 
<TextView 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:scrollbars="vertical" 
    android:id="@+id/articleTEXT" 
    android:padding="5dp" 
/> 
1

आप अपने LinearLayout या TextView में इस रखने की कोशिश कर सकते प्रयास करें:

android:layout_marginRight="20dp" 
संबंधित मुद्दे