mirror of
https://github.com/LucasVbr/OutilCuisson.git
synced 2026-05-19 10:53:18 +00:00
Finition des méthodes dans le fichier AfficherFragment + Création fichier CuissonAdapter pour afficher les trois arguments de la liste
This commit is contained in:
@@ -2,28 +2,37 @@
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:stretchColumns="1">
|
||||
android:stretchColumns="3">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:text="@string/afficher_titre" />
|
||||
android:text="@string/afficher_titre"
|
||||
android:layout_marginBottom="15dp"/>
|
||||
|
||||
<TableRow>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/afficher_label_plat" />
|
||||
android:text="@string/afficher_label_plat"
|
||||
android:layout_column="1"
|
||||
android:layout_span="1"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/afficher_label_duree"
|
||||
android:layout_column="2"
|
||||
android:layout_span="1"
|
||||
android:layout_marginLeft="100dp"
|
||||
android:layout_marginRight="100dp"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/afficher_label_duree" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/afficher_label_temperature" />
|
||||
android:text="@string/afficher_label_temperature"
|
||||
android:layout_column="3"
|
||||
android:layout_span="1"/>
|
||||
</TableRow>
|
||||
|
||||
<ListView
|
||||
|
||||
@@ -5,13 +5,29 @@
|
||||
température soient bien alignées)
|
||||
Un padding est ajouté autour du texte
|
||||
fichier ligne_liste.xml 12/21 -->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_plat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold"/>
|
||||
<!--android:textSize="@dimen/taille_texte_liste"
|
||||
android:paddingTop="@dimen/padding_liste"
|
||||
android:paddingBottom="@dimen/padding_liste"
|
||||
android:textColor="@color/couleur_item_liste"-->
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_duree"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_degres"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="monospace"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user