TsCyrille Posted July 28, 2010 Share Posted July 28, 2010 Bonjour Voici mon XML : android:layout_height="fill_parent" android:layout_width="fill_parent"> android:orientation="vertical" android:paddingLeft="10dip" android:paddingTop="10dip" android:layout_height="fill_parent" android:layout_width="fill_parent"> 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"> 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 Link to comment Share on other sites More sharing options...
acesyde Posted July 28, 2010 Share Posted July 28, 2010 Bonjour, Dans ton scrollview tu dois rajouter la propriété android:scrollbar="vertical" Link to comment Share on other sites More sharing options...
TsCyrille Posted July 28, 2010 Author Share Posted July 28, 2010 Merci pour ta réponse... mais je n'ai toujours pas la possibilité de déplacer l'écran vers la gauche... N'est ce pas lié également aux propriétés concernant la taille de mon Layoutet/ou de mon TextEdit ? Link to comment Share on other sites More sharing options...
TsCyrille Posted August 4, 2010 Author Share Posted August 4, 2010 J'ai réussi à obtenir mon scroll horizontal grâce au widget HorizontalScrollView. Mais j'ai un petit souci avec ce widget : xmlns:android="http://schemas.android.com/apk/res/android" android:scrollbars="none" android:layout_height="fill_parent" android:layout_width="fill_parent"> android:paddingLeft="10dip" android:paddingTop="10dip" android:layout_height="wrap_content" android:layout_width="fill_parent"> ... android:layout_width="fill_parent" android:layout_height="2dip" .... Je veux que le widget View (qui est mon séparateur des widgets Row) prenne toute la largeur de l'écran... Or pour l'instant elle prend la même largeur que le Row le plus large (cette dernière ne faisant pas tous l'écran). Comment faire pour que le widget View prenne toute la largeur de l'écran dans ce cas là ? Merci d'avance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.