Saturday, May 12, 2012

Re: [android-developers] Re: Menu : Handling click events : DialogBox

Le samedi 12 mai 2012 18:17:55 UTC-4, Kostya Vasilyev a écrit :

... you will now need to catch UnsupportedEncodingException, as a formality.

Didn't understood...
 

2) Check the encoding of your asset text file in Eclipse: right click, properties, see bottom of the right pane.

Done, thks it works

Don'y know how to have a textbox with a little margin over the text.

 This odes not work :

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <ScrollView
        android:id="@+id/scrollView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:layout_margin="10dp">

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="fill_parent" >

            <TextView
                android:id="@+id/TextView1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

        </LinearLayout>
    </ScrollView>

</LinearLayout>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate