|
5 | 5 | android:layout_width="match_parent" |
6 | 6 | android:layout_height="match_parent"> |
7 | 7 |
|
8 | | - <androidx.cardview.widget.CardView |
| 8 | + <com.google.android.material.button.MaterialButton |
9 | 9 | android:id="@+id/btnPomodoroSettings" |
10 | | - style="@style/SettingsCard" |
11 | | - android:layout_width="44dp" |
12 | | - android:layout_height="44dp" |
13 | | - android:layout_margin="8dp" |
14 | | - android:foreground="?selectableItemBackground" |
15 | | - app:cardBackgroundColor="?appCardBackgroundColor" |
16 | | - app:layout_constraintDimensionRatio="h,1:1" |
17 | | - app:layout_constraintEnd_toEndOf="parent" |
18 | | - app:layout_constraintTop_toTopOf="parent"> |
19 | | - |
20 | | - <androidx.appcompat.widget.AppCompatImageView |
21 | | - android:layout_width="match_parent" |
22 | | - android:layout_height="match_parent" |
23 | | - android:scaleType="center" |
24 | | - android:tint="?appInactiveColor" |
25 | | - app:srcCompat="@drawable/tab_settings" /> |
26 | | - |
27 | | - </androidx.cardview.widget.CardView> |
| 10 | + style="@style/ContainerRangeOptionsButton" |
| 11 | + android:layout_marginEnd="8dp" |
| 12 | + android:backgroundTint="?appCardBackgroundColor" |
| 13 | + app:icon="@drawable/tab_settings" |
| 14 | + app:iconTint="?appInactiveColor" |
| 15 | + app:layout_constraintBottom_toBottomOf="parent" |
| 16 | + app:layout_constraintEnd_toEndOf="parent" /> |
28 | 17 |
|
29 | 18 | <androidx.constraintlayout.widget.ConstraintLayout |
30 | 19 | android:layout_width="0dp" |
|
0 commit comments