add rate of movie serie

master
Julien THEME 2 years ago
parent e718ccdd4e
commit a95ca4f5de

@ -40,12 +40,12 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="24dp" android:layout_marginStart="24dp"
android:layout_marginTop="55dp" android:layout_marginTop="20dp"
android:text="Info film" android:text="Info film"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="20sp" android:textSize="20sp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/info_image" /> app:layout_constraintTop_toBottomOf="@+id/info_texte_rate" />
<Button <Button
android:id="@+id/info_add_view" android:id="@+id/info_add_view"
@ -69,6 +69,30 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/info_image" /> app:layout_constraintTop_toBottomOf="@+id/info_image" />
<TextView
android:id="@+id/info_texte_rate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="10dp"
android:text="@string/rate"
android:textColor="@color/white"
android:textSize="16sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2" />
<TextView
android:id="@+id/info_rate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:text="@{media.voteAverage.toString()}"
android:textColor="@color/white"
android:textSize="16sp"
app:layout_constraintStart_toEndOf="@+id/info_texte_rate"
app:layout_constraintTop_toBottomOf="@+id/imageView2" />
<ImageView <ImageView
android:id="@+id/imageView2" android:id="@+id/imageView2"
android:layout_width="wrap_content" android:layout_width="wrap_content"

@ -24,4 +24,5 @@
<string name="release_date">21/12/2019"</string> <string name="release_date">21/12/2019"</string>
<string name="add_to_viewed">Not view</string> <string name="add_to_viewed">Not view</string>
<string name="remove_from_viewed">View</string> <string name="remove_from_viewed">View</string>
<string name="rate">Rate</string>
</resources> </resources>

@ -3,9 +3,10 @@
CineApp is an Android application project dedicated to movie lovers. It allows users to view information about recent and popular movies, add them to their favourites list and rate them. CineApp is an Android application project dedicated to movie lovers. It allows users to view information about recent and popular movies, add them to their favourites list and rate them.
# Features # Features
- View list of popular and recent movies - View list of popular and recent movies/series
- Add movies to favorites list - Add movies/series to favorites list
- View detailed information about movies (synopsis, release date, etc.) - Rating of movies/series
- View detailed information about movies/series (synopsis, release date, etc.)
# Dependencies # Dependencies
To use this project, you will need the following dependencies: To use this project, you will need the following dependencies:

Loading…
Cancel
Save