|
|
@ -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>
|