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
0ea13bb9
Commit
0ea13bb9
authored
Feb 17, 2024
by
Inès EL HADRI
💤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change annonces layouts
parent
f1704608
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
44 deletions
+44
-44
annonces_grid.xml
app/src/main/res/layout/annonces_grid.xml
+2
-2
annonces_liste.xml
app/src/main/res/layout/annonces_liste.xml
+42
-42
No files found.
app/src/main/res/layout/annonces_grid.xml
View file @
0ea13bb9
...
...
@@ -20,8 +20,8 @@
<ImageView
android:id=
"@+id/imageView"
android:layout_width=
"
8
0dp"
android:layout_height=
"
8
0dp"
android:layout_width=
"
10
0dp"
android:layout_height=
"
10
0dp"
android:src=
"@drawable/ic_launcher_background"
/>
<TextView
...
...
app/src/main/res/layout/annonces_liste.xml
View file @
0ea13bb9
<
Frame
Layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
androidx.constraintlayout.widget.Constraint
Layout
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=
"wrap_content"
android:
gravity=
"center_vertical
"
android:
minHeight=
"50
dp"
>
android:
minHeight=
"50dp
"
android:
padding=
"8
dp"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:padding=
"10dp"
>
<ImageView
android:id=
"@+id/imageView"
android:layout_width=
"80dp"
android:layout_height=
"80dp"
android:src=
"@drawable/ic_launcher_background"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageView
android:id=
"@+id/imageView"
android:layout_width=
"80dp"
android:layout_height=
"80dp"
android:src=
"@drawable/ic_launcher_background"
/>
<TextView
android:id=
"@+id/titre_annonce"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"4dp"
android:layout_marginBottom=
"4dp"
android:fontFamily=
"sans-serif-medium"
android:text=
"Titre annonce de test"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
app:layout_constraintBottom_toTopOf=
"@+id/adresse_annonce"
app:layout_constraintStart_toEndOf=
"@+id/imageView"
/>
<TextView
android:id=
"@+id/titre_annonce"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"sans-serif-medium"
android:text=
"Titre annonce de test"
android:layout_below=
"@+id/imageView"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
<TextView
android:id=
"@+id/adresse_annonce"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Adresse, 59000 Douai"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/titre_annonce"
/>
<TextView
android:id=
"@+id/adresse_annonce"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"Adresse, 59000 Douai"
android:layout_toEndOf=
"@id/titre_annonce"
android:layout_alignTop=
"@id/titre_annonce"
android:textAlignment=
"viewEnd"
/>
<TextView
android:id=
"@+id/prix_annonce"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginEnd=
"8dp"
android:fontFamily=
"sans-serif-black"
android:text=
"12.99€"
android:textAlignment=
"viewEnd"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/prix_annonce"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:fontFamily=
"sans-serif-black"
android:text=
"12.99€"
android:textAlignment=
"viewEnd"
android:layout_toRightOf=
"@id/imageView"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
</RelativeLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
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