add values-fr & visual custom

master
Bastien JACQUELIN 2 years ago
parent dc075d8eb2
commit fe0d730521

@ -20,10 +20,12 @@
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="211dp" android:layout_width="211dp"
android:layout_height="27dp" android:layout_height="27dp"
android:layout_marginTop="16dp"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:layout_constraintEnd_toStartOf="@+id/settings" app:layout_constraintEnd_toStartOf="@+id/settings"
app:layout_constraintHorizontal_bias="0.391"
app:layout_constraintStart_toEndOf="@+id/imageView" app:layout_constraintStart_toEndOf="@+id/imageView"
tools:layout_editor_absoluteY="29dp" app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints"> tools:ignore="MissingConstraints">
<androidx.appcompat.widget.SearchView <androidx.appcompat.widget.SearchView
@ -31,7 +33,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:iconifiedByDefault="false" android:iconifiedByDefault="false"
app:queryHint="Rechercher" /> app:queryHint="@string/research" />
</androidx.appcompat.widget.Toolbar> </androidx.appcompat.widget.Toolbar>
@ -47,26 +49,27 @@
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
/> />
<TextView <TextView
android:id="@+id/textView" android:id="@+id/welcomeTextView"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:text="All movies" android:textSize="16dp"
android:text="@string/welcome"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.534"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toBottomOf="@+id/toolbar"
app:layout_constraintVertical_bias="0.024" />
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerMovie" android:id="@+id/recyclerMovie"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="16dp" android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="@+id/textView" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView" app:layout_constraintTop_toBottomOf="@+id/welcomeTextView" />
app:layout_constraintVertical_bias="1.0" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

@ -0,0 +1,16 @@
<resources>
<string name="app_name">CineCool</string>
<string name="title_activity_main">MainActivity</string>
<!-- Strings used for fragments for navigation -->
<string name="first_fragment_label">First Fragment</string>
<string name="second_fragment_label">Second Fragment</string>
<string name="next">Suivant</string>
<string name="previous">Précédent</string>
<string name="hello_first_fragment">Hello first fragment</string>
<string name="hello_second_fragment">Hello second fragment. Arg: %1$s</string>
<string name="error_loading_movie">erreur de chargement des films</string>
<string name="tmdb_api_key">a97243d7813d31446f6c43284e6854d5</string>
<string name="welcome">Bienvenue dans CineCool</string>
<string name="research">Recherche</string>
</resources>

@ -11,4 +11,6 @@
<string name="hello_second_fragment">Hello second fragment. Arg: %1$s</string> <string name="hello_second_fragment">Hello second fragment. Arg: %1$s</string>
<string name="error_loading_movie">erreur de chargement des films</string> <string name="error_loading_movie">erreur de chargement des films</string>
<string name="tmdb_api_key">a97243d7813d31446f6c43284e6854d5</string> <string name="tmdb_api_key">a97243d7813d31446f6c43284e6854d5</string>
<string name="welcome">Welcome on CineCool</string>
<string name="research">Research</string>
</resources> </resources>
Loading…
Cancel
Save