J'ai une vue de base en XML.créer vue dynamique, plusieurs fois une vue X, obtenir/valeur définie pour chaque groupe
<RelativeLayout android:id="@+id/RelativeLayout01" android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content"><TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:text="Family" android:id="@+id/Family" android:textSize="16px" android:padding="5px" android:textStyle="bold" android:gravity="center_horizontal"></TextView>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/Family" android:layout_alignRight="@+id/Family" android:text="@string/context_notion_level_off" android:id="@+id/ContextNotionLevel"></TextView>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/Detailed" android:layout_below="@+id/Family" android:layout_alignLeft="@+id/Family" android:textStyle="bold" android:id="@+id/Module" android:text="Location"></TextView>
<SeekBar android:layout_height="wrap_content" android:id="@+id/SeekBar01" android:layout_width="fill_parent" android:padding="5px" android:saveEnabled="true" android:layout_below="@+id/Module" android:max="2"></SeekBar>
</RelativeLayout>
Comment puis-je répéter les temps section X sous, pour ressembler ici:
http://img687.imageshack.us/img687/4674/contextnotionleveldraft.png http://img687.imageshack.us/img687/4674/contextnotionleveldraft.png
Alors, comment puis-je accéder à la barre de recherche pour tous les articles?
S'il vous plaît noter que je veux que ce soit dynamique au travail, par exemple: pour 15 fois.
Comment sera en mesure de donner un nom (emplacement), la valeur (valeur SeekBar) et récupérer la valeur pour chaque groupe.
où/comment puis-je ajouter un ScrollView quand il y a trop de montrer sur l'écran? – Pentium10
Vous mettez ScrollView autour de la LinearLayout de la mymain.xml – ccheneson
hein, j'ai raté ce xmlns: android pour scrollview (merci) – Pentium10