ScrollView : scroller horizontalement
Bonjour
Voici mon XML :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<LinearLayout
android:orientation="vertical"
android:paddingLeft="10dip"
android:paddingTop="10dip"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<TextView
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:text="Texte très très très très trsè très très très trsè trsè très très long" android:singleLine="true">
</TextView>
</LinearLayout>
</ScrollView> |
Je veux en fait afficher le texte sur une seule ligne et que si ce dernier ne peut pas être intégralement affiché à l'écran pouvoir scroller horizontalement sur mon écran pour voir la suite. Or je ne peux pas pour l'instant. Pourquoi ?
Si quelqu'un à une idée...
Merci d'avance