Whirpett Posted February 6, 2011 Share Posted February 6, 2011 Bonjour, Je réalise actuellement un petit projet dans le cadre d'une formation info... J'ai un petit soucis concernant un alertDialog qui comporte plusieurs textView, editText, RadioButton, etc ... Le soucis c'est que l'alertDialog ne peut tous les afficher, et il est impossible (du moins pour l'instant) de faire dérouler vers le bas comme pour une activity... Est ce que quelqu'un à une idée ou une solutions ??? merci XML : <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="15dip"> <TextView android:id="@+id/TextViewPlanningNbKm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Nombre de kilomètres parcourues : " android:paddingBottom="10dip"/> <EditText android:id="@+id/EditTextPlanningNbKm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/TextViewPlanningNbKm" android:width="150px" /> <TextView android:id="@+id/TextViewPlanningMeteo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Conditions météo : " android:layout_below="@+id/EditTextPlanningNbKm" android:paddingBottom="10dip" /> <RadioButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/RadioButtonMeteo1" android:text="RadioButton" android:layout_below="@+id/TextViewPlanningMeteo"> </RadioButton> <EditText android:id="@+id/EditText2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/RadioButtonMeteo1" android:width="150px" android:paddingBottom="10dip"/> </RelativeLayout> Link to comment Share on other sites More sharing options...
cyrilbouisson@gmail.com Posted February 7, 2011 Share Posted February 7, 2011 Peut etre en mettant ton RelativeLayout dans un ScrollView Link to comment Share on other sites More sharing options...
jokamax Posted February 15, 2011 Share Posted February 15, 2011 Tente d'ajouter à ton relativeLayout : android:isScrollContainer="true" Jok Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.