Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider a4e17bfd rédigé par Florian GANDON's avatar Florian GANDON
Parcourir les fichiers

Merge branch 'florian' into 'main'

Merge branch 'florian.G' into 'main'

See merge request !22
parents d8a1f9f9 09b4177c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!22Merge branch 'florian.G' into 'main'
Affichage de
avec 26 ajouts et 12 suppressions
app/src/main/ic_launcher-playstore.png

16,4 ko | W: | H:

app/src/main/ic_launcher-playstore.png

19,5 ko | W: | H:

app/src/main/ic_launcher-playstore.png
app/src/main/ic_launcher-playstore.png
app/src/main/ic_launcher-playstore.png
app/src/main/ic_launcher-playstore.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -36,9 +36,21 @@ class SearchMediasActivity : AppCompatActivity() {
type = (intent?.getSerializableExtra("type") ?: throw Exception("No activity type found")) as ActivityType
findViewById<TextView>(R.id.search_movies__title).text = if (type == ActivityType.Movie) {
getString(R.string.movies)
getString(R.string.movies_c)
} else {
getString(R.string.tv)
getString(R.string.tv_c)
}
searchName.hint = if (type == ActivityType.Movie) {
getString(R.string.search_for, getString(R.string.movies))
} else {
getString(R.string.search_for, getString(R.string.tv))
}
btPopular.text = if (type == ActivityType.Movie) {
getString(R.string.see_popular, getString(R.string.movies))
} else {
getString(R.string.see_popular, getString(R.string.tv))
}
// add event to components
......
......@@ -13,7 +13,7 @@
android:id="@+id/search_movies__title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/movies"
android:text="@string/movies_c"
android:textColor="@color/white"
android:textAppearance="@style/TextAppearance.Material3.DisplaySmall"
app:layout_constraintBottom_toTopOf="@+id/search_movies__cl0"
......@@ -72,7 +72,7 @@
android:autofillHints="no"
android:background="@android:color/black"
android:drawableStart="@android:drawable/ic_menu_search"
android:hint="@string/search_for_a_movie"
android:hint="@string/search_for"
android:inputType="text"
android:padding="10dp"
android:textColor="@color/white"
......@@ -107,7 +107,7 @@
android:id="@+id/search_medias__bt_popular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/see_popular_movies"
android:text="@string/see_popular"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/search_medias__search_name"
app:layout_constraintStart_toStartOf="@+id/search_medias__search_name"
......
......@@ -12,7 +12,7 @@
android:id="@+id/search_movies__title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/movies"
android:text="@string/movies_c"
android:textColor="@color/white"
android:textAppearance="@style/TextAppearance.Material3.DisplaySmall"
app:layout_constraintBottom_toTopOf="@+id/search_movies__cl0"
......@@ -49,7 +49,7 @@
android:layout_height="50dp"
android:autofillHints="no"
android:drawableStart="@android:drawable/ic_menu_search"
android:hint="@string/search_for_a_movie"
android:hint="@string/search_for"
android:inputType="text"
android:padding="10dp"
app:layout_constraintBottom_toBottomOf="parent"
......@@ -74,7 +74,7 @@
android:id="@+id/search_medias__bt_popular"
android:layout_width="0dp"
android:layout_height="50dp"
android:text="@string/see_popular_movies"
android:text="@string/see_popular"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/search_medias__search_name"
app:layout_constraintStart_toStartOf="@+id/search_medias__search_name"
......
app/src/main/res/mipmap-hdpi/ic_launcher.webp

942 octets | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher.webp

2,9 ko | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher.webp
app/src/main/res/mipmap-hdpi/ic_launcher.webp
app/src/main/res/mipmap-hdpi/ic_launcher.webp
app/src/main/res/mipmap-hdpi/ic_launcher.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp

832 octets | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp

890 octets | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp

2,15 ko | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher_round.webp

2,9 ko | W: | H:

app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-mdpi/ic_launcher.webp

660 octets | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher.webp

1,89 ko | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher.webp
app/src/main/res/mipmap-mdpi/ic_launcher.webp
app/src/main/res/mipmap-mdpi/ic_launcher.webp
app/src/main/res/mipmap-mdpi/ic_launcher.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp

566 octets | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp

594 octets | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp

1,37 ko | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher_round.webp

1,89 ko | W: | H:

app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xhdpi/ic_launcher.webp

1,2 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher.webp

4 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher.webp
app/src/main/res/mipmap-xhdpi/ic_launcher.webp
app/src/main/res/mipmap-xhdpi/ic_launcher.webp
app/src/main/res/mipmap-xhdpi/ic_launcher.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp

1,12 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp

1,19 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp

3,05 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp

4 ko | W: | H:

app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxhdpi/ic_launcher.webp

1,84 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher.webp

6,36 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp

1,72 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp

1,88 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp

4,93 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp

6,36 ko | W: | H:

app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp

2,5 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp

9,1 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp

2,48 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp

2,68 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp

7,21 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp

9,1 ko | W: | H:

app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">TD SAE Android</string>
<string name="movies">Films</string>
<string name="movies_c">Films</string>
<string name="date_f">Date :</string>
<string name="genres_f">Genres :</string>
<string name="number_f">Nombre :</string>
<string name="search_for_a_movie">Rechercher un film</string>
<string name="search_for">Rechercher des %1$s</string>
<string name="what_watch">Que voulez-vous regarder ce soir ?</string>
<string name="see_movie">Envie d\'un film ?</string>
<string name="see_tv">Envie d\'une série ?</string>
......@@ -14,7 +14,7 @@
<string name="rating_min_f">Note min :</string>
<string name="search">Chercher</string>
<string name="results">Resultats</string>
<string name="see_popular_movies">Voir les films les plus populaire !</string>
<string name="see_popular">Voir les %1$s les plus populaire !</string>
<string name="previous_page">Page précédente</string>
<string name="next_page">Page suivante</string>
<string name="released_after_f">Sortie après :</string>
......@@ -29,8 +29,10 @@
<string name="rating_according">Note: %1$s/10, selon %2$s personnes</string>
<string name="warning_not_suitable">Attention, se film n\'est pas adapté aux enfants</string>
<string name="image">image</string>
<string name="tv">Séries</string>
<string name="tv_c">Séries</string>
<string name="select">Sélectionner</string>
<string name="data_not_found">Données non trouvées</string>
<string name="clear">Effacer</string>
<string name="movies">films</string>
<string name="tv">séries</string>
</resources>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter