Commit 3f6a5a92 authored by Lucas NAURY's avatar Lucas NAURY

Update page style

parent 5018b759
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:isScrollContainer="true"
android:nestedScrollingEnabled="true"
tools:context=".ui.ajout_annonce.AjoutAnnonceFragment">
<LinearLayout
......@@ -12,22 +14,6 @@
android:orientation="vertical"
android:padding="@dimen/activity_horizontal_margin">
<TextView
android:id="@+id/titre"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-black"
android:text="Création d'une annonce"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="@color/purple_500"
android:textSize="24sp" />
<Space
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/activity_vertical_margin" />
<TextView
android:id="@+id/titreImage"
android:layout_width="match_parent"
......@@ -84,7 +70,7 @@
android:layout_height="wrap_content"
android:alpha="100"
android:fontFamily="sans-serif-medium"
android:text="Titre de l'annonce :"
android:text="Titre de l'annonce* :"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<EditText
......@@ -106,7 +92,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:text="Prix :"
android:text="Prix* :"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<EditText
......@@ -128,7 +114,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:text="Adresse : "
android:text="Adresse* :"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<EditText
......@@ -167,6 +153,14 @@
android:layout_height="wrap_content"
android:minHeight="@dimen/activity_vertical_margin" />
<TextView
android:id="@+id/warningObligatoire"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Les champs marqués d'un * sont obligatoires"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="#52000000" />
<Button
android:id="@+id/boutonAjoutAnnonce"
android:layout_width="match_parent"
......@@ -174,4 +168,4 @@
android:text="ajouter" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
</ScrollView>
\ No newline at end of file
......@@ -14,7 +14,7 @@
<fragment
android:id="@+id/navigation_ajout_annonce"
android:name="com.example.tpleboncoin.ui.ajout_annonce.AjoutAnnonceFragment"
android:label="@string/title_add"
android:label="@string/title_add_top"
tools:layout="@layout/fragment_ajout_annonce" />
<fragment
......
......@@ -2,6 +2,7 @@
<string name="app_name">TP LeBonCoin</string>
<string name="title_home">Accueil</string>
<string name="title_add">Ajout</string>
<string name="title_add_top">Création d\'une annonce</string>
<string name="title_profile">Profil</string>
<string name="text_annonce">test</string>
<string name="linear_layout_manager">Liste</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment