English 中文(简体)
发言稿随函附上阿拉伯文。
原标题:Textview is Messing up with Arabic Letters

i 正在开发一种星体应用,让用户在Edit文本(阿拉伯文字母)中添加一些信息,如用户名称,并通过使用第2号一般性意见在另一个活动中显示他的信息。

但是,在我提出申请时,在阿拉伯信函中插入名字,并在第二次活动中显示,它错失!

i 不知道如何允许案文 同阿拉伯信的意见

任何事项 帮助将真正得到赞赏

这是我的《刑法》:

 <?xml version="1.0" encoding="utf-8"?>
 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frameLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"

android:padding="5dp" >

<AbsoluteLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"

    android:orientation="vertical" >

    <Button
        android:id="@+id/cancel3"
        android:layout_width="94dp"
        android:layout_height="34dp"
        android:layout_x="188dp"
        android:layout_y="437dp"

        android:text="إلغاء"
        android:textColor="@color/White" />

    <Button
        android:id="@+id/send3"
        android:layout_width="98dp"
        android:layout_height="34dp"
        android:layout_x="26dp"
        android:layout_y="436dp"

        android:text="إرسال"
         />

    <Button
        android:id="@+id/stoppingalram"
        android:layout_width="wrap_content"
        android:layout_height="23dp"
        android:layout_x="114dp"
        android:layout_y="438dp"
        android:text="إلغاء" 
        android:visibility="gone"
        />

    <ImageView
        android:id="@+id/imageView3"
        android:layout_width="548dp"
        android:layout_height="32dp"
        android:layout_x="-120dp"
        android:layout_y="8dp"
        />

    <ImageView
        android:id="@+id/imageView2"
        android:layout_width="68dp"
        android:layout_height="69dp"
        android:layout_x="120dp"
        android:layout_y="77dp"
         />

    <TextView
        android:id="@+id/tvmoreinfoReport"
        android:layout_width="54dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="18dp"
        android:layout_x="156dp"
        android:layout_y="372dp"
        android:text="لا شئ"
         />

    <TextView
        android:id="@+id/tvclothesReport"
        android:layout_width="82dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="18dp"
        android:layout_x="138dp"
        android:layout_y="321dp"
        android:text="فستان أحمر"
         />

    <TextView
        android:id="@+id/tvtimeReport"
        android:layout_width="47dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="14dp"
        android:layout_x="159dp"
        android:layout_y="282dp"
        android:text="ساعة ١"
        />

    <TextView
        android:id="@+id/tvgenderReport"
        android:layout_width="46dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="17dp"
        android:layout_x="177dp"
        android:layout_y="207dp"
        android:text="أنثى"
         />

    <TextView
        android:id="@+id/tvageReport"
        android:layout_width="68dp"
        android:layout_height="wrap_content"
        android:layout_x="174dp"
        android:layout_y="236dp"
        android:text="سنة ٩"
         />

    <TextView
        android:id="@+id/tvcasenameReport"
        android:layout_width="88dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="14dp"
        android:layout_x="145dp"
        android:layout_y="174dp"
        android:text="محمد عبدالله"
        />

</AbsoluteLayout>

最佳回答

i click the right click Button and change to 4.0.3 and press OK then it is Done :) 2.1 it does not support Arabic, 2.3 not Fully support Arabic , 3.x is support fully Arabic

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签