mirror of
https://github.com/LucasVbr/OutilCuisson.git
synced 2026-05-13 17:11:53 +00:00
Modification de l'interface de l'onglet Ajouter
This commit is contained in:
@@ -2,18 +2,15 @@
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:stretchColumns="0">
|
||||
android:stretchColumns="1">
|
||||
|
||||
|
||||
<TableRow> <!-- Titre -->
|
||||
<!-- Titre -->
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:text="@string/ajouter_titre"
|
||||
android:layout_span="3"/>
|
||||
</TableRow>
|
||||
android:text="@string/ajouter_titre"/>
|
||||
|
||||
<TableRow> <!-- Plat -->
|
||||
<TextView
|
||||
@@ -24,10 +21,14 @@
|
||||
<EditText
|
||||
android:id="@+id/input_plat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:maxLines="1"
|
||||
android:maxLength="20"
|
||||
android:layout_column="1"/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow> <!-- Durée de cuisson -->
|
||||
<!-- Durée de cuisson -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -38,7 +39,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:timePickerMode="spinner" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow> <!-- Température -->
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
android:id="@+id/input_temperature"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="2"
|
||||
android:layout_column="1"
|
||||
android:inputType="number" />
|
||||
|
||||
</TableRow>
|
||||
@@ -59,11 +59,12 @@
|
||||
<TableRow> <!-- Buttons -->
|
||||
|
||||
<Button
|
||||
android:layout_column="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/btn_effacer"
|
||||
android:onClick="actionBtnEffacer"/>
|
||||
android:layout_column="2"
|
||||
android:onClick="actionBtnEffacer"
|
||||
style="?android:attr/buttonBarButtonStyle" />
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
@@ -74,5 +75,4 @@
|
||||
</TableRow>
|
||||
|
||||
|
||||
|
||||
</TableLayout>
|
||||
@@ -5,4 +5,13 @@
|
||||
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" android:typeface="monospace" android:textStyle="bold" android:textSize="@dimen/taille_texte_liste" android:paddingTop="@dimen/padding_liste" android:paddingBottom="@dimen/padding_liste" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="@color/couleur_item_liste"/>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
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"-->
|
||||
Reference in New Issue
Block a user