Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uv-amse-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lucas NAURY
uv-amse-android
Commits
3f6a5a92
Commit
3f6a5a92
authored
Feb 21, 2024
by
Lucas NAURY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update page style
parent
5018b759
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
22 deletions
+17
-22
fragment_ajout_annonce.xml
app/src/main/res/layout/fragment_ajout_annonce.xml
+15
-21
mobile_navigation.xml
app/src/main/res/navigation/mobile_navigation.xml
+1
-1
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/res/layout/fragment_ajout_annonce.xml
View file @
3f6a5a92
<?xml version="1.0" encoding="utf-8"?>
<?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:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:isScrollContainer=
"true"
android:nestedScrollingEnabled=
"true"
tools:context=
".ui.ajout_annonce.AjoutAnnonceFragment"
>
tools:context=
".ui.ajout_annonce.AjoutAnnonceFragment"
>
<LinearLayout
<LinearLayout
...
@@ -12,22 +14,6 @@
...
@@ -12,22 +14,6 @@
android:orientation=
"vertical"
android:orientation=
"vertical"
android:padding=
"@dimen/activity_horizontal_margin"
>
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
<TextView
android:id=
"@+id/titreImage"
android:id=
"@+id/titreImage"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -84,7 +70,7 @@
...
@@ -84,7 +70,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:alpha=
"100"
android:alpha=
"100"
android:fontFamily=
"sans-serif-medium"
android:fontFamily=
"sans-serif-medium"
android:text=
"Titre de l'annonce :"
android:text=
"Titre de l'annonce
*
:"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
<EditText
<EditText
...
@@ -106,7 +92,7 @@
...
@@ -106,7 +92,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-medium"
android:fontFamily=
"sans-serif-medium"
android:text=
"Prix :"
android:text=
"Prix
*
:"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
<EditText
<EditText
...
@@ -128,7 +114,7 @@
...
@@ -128,7 +114,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-medium"
android:fontFamily=
"sans-serif-medium"
android:text=
"Adresse
:
"
android:text=
"Adresse
* :
"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
<EditText
<EditText
...
@@ -167,6 +153,14 @@
...
@@ -167,6 +153,14 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:minHeight=
"@dimen/activity_vertical_margin"
/>
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
<Button
android:id=
"@+id/boutonAjoutAnnonce"
android:id=
"@+id/boutonAjoutAnnonce"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -174,4 +168,4 @@
...
@@ -174,4 +168,4 @@
android:text=
"ajouter"
/>
android:text=
"ajouter"
/>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
\ No newline at end of file
\ No newline at end of file
app/src/main/res/navigation/mobile_navigation.xml
View file @
3f6a5a92
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<fragment
<fragment
android:id=
"@+id/navigation_ajout_annonce"
android:id=
"@+id/navigation_ajout_annonce"
android:name=
"com.example.tpleboncoin.ui.ajout_annonce.AjoutAnnonceFragment"
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"
/>
tools:layout=
"@layout/fragment_ajout_annonce"
/>
<fragment
<fragment
...
...
app/src/main/res/values/strings.xml
View file @
3f6a5a92
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<string
name=
"app_name"
>
TP LeBonCoin
</string>
<string
name=
"app_name"
>
TP LeBonCoin
</string>
<string
name=
"title_home"
>
Accueil
</string>
<string
name=
"title_home"
>
Accueil
</string>
<string
name=
"title_add"
>
Ajout
</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=
"title_profile"
>
Profil
</string>
<string
name=
"text_annonce"
>
test
</string>
<string
name=
"text_annonce"
>
test
</string>
<string
name=
"linear_layout_manager"
>
Liste
</string>
<string
name=
"linear_layout_manager"
>
Liste
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment