The floating icons are now in line with the style of the rest of the app

This commit is contained in:
CappielloAntonio 2022-01-15 17:19:46 +01:00
parent 5937e7f525
commit 546777670c
2 changed files with 22 additions and 12 deletions

View file

@ -42,16 +42,21 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
<Button
android:id="@+id/finish_filtering_text_view_clickable"
android:layout_width="24dp"
android:layout_height="24dp"
style="@style/Widget.Material3.Button.TonalButton.Icon"
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="30dp"
android:background="@drawable/ic_done"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:layout_marginBottom="12dp"
android:insetLeft="0dp"
android:insetTop="0dp"
android:insetRight="0dp"
android:insetBottom="0dp"
app:cornerRadius="30dp"
app:icon="@drawable/ic_done"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -42,16 +42,21 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
<Button
android:id="@+id/filter_genres_text_view_clickable"
android:layout_width="24dp"
android:layout_height="24dp"
style="@style/Widget.Material3.Button.TonalButton.Icon"
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="30dp"
android:background="@drawable/ic_filter_list"
android:foreground="?android:attr/selectableItemBackgroundBorderless"
android:layout_marginBottom="12dp"
android:insetLeft="0dp"
android:insetTop="0dp"
android:insetRight="0dp"
android:insetBottom="0dp"
app:cornerRadius="30dp"
app:icon="@drawable/ic_filter_list"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>