|
63 | 63 | app:layout_constraintStart_toStartOf="parent"
|
64 | 64 | app:layout_constraintTop_toTopOf="parent" />
|
65 | 65 |
|
66 |
| - <Button |
| 66 | + <com.google.android.material.button.MaterialButton |
67 | 67 | android:id="@+id/movie_trailer"
|
68 |
| - style="@style/Widget.AppCompat.Button.Borderless" |
| 68 | + style="@style/Widget.MaterialComponents.Button.OutlinedButton" |
69 | 69 | android:layout_width="wrap_content"
|
70 | 70 | android:layout_height="wrap_content"
|
71 | 71 | android:layout_marginTop="8dp"
|
72 |
| - android:drawableStart="@drawable/ic_play_circle_outline_black_24dp" |
73 |
| - android:drawablePadding="5dp" |
74 |
| - android:drawableTint="@color/md_pink_300" |
75 | 72 | android:text="Trailer"
|
76 | 73 | android:textColor="@color/md_grey_400"
|
| 74 | + app:icon="@drawable/ic_play_circle_outline_black_24dp" |
| 75 | + app:iconPadding="5dp" |
| 76 | + app:iconTint="@color/md_pink_300" |
77 | 77 | app:layout_constraintEnd_toEndOf="parent"
|
78 | 78 | app:layout_constraintStart_toStartOf="parent"
|
79 | 79 | app:layout_constraintTop_toTopOf="parent" />
|
|
128 | 128 | android:layout_gravity="center"
|
129 | 129 | android:layout_marginStart="16dp"
|
130 | 130 | android:drawableStart="@drawable/ic_people_black_18dp"
|
131 |
| - android:drawablePadding="5dp" |
132 | 131 | android:drawableEnd="@drawable/ic_baseline_4k_18dp"
|
| 132 | + android:drawablePadding="5dp" |
133 | 133 | android:drawableTint="@android:color/white"
|
134 | 134 | android:text="93%"
|
135 | 135 | app:layout_constraintLeft_toRightOf="@+id/user_rating"
|
|
187 | 187 | app:layout_constraintTop_toBottomOf="@+id/rating_thumbs_down" />
|
188 | 188 |
|
189 | 189 | <!-- =========================== Begin Chained Button =========================== -->
|
190 |
| - <Button |
| 190 | + <com.google.android.material.button.MaterialButton |
191 | 191 | android:id="@+id/button_rent"
|
192 |
| - style="@style/Widget.AppCompat.Button.Colored" |
| 192 | + style="@style/Widget.MaterialComponents.Button" |
193 | 193 | android:layout_width="0dp"
|
194 | 194 | android:layout_height="wrap_content"
|
195 | 195 | android:layout_marginTop="16dp"
|
| 196 | + android:layout_marginEnd="16dp" |
196 | 197 | android:text="Rent from $4.99"
|
197 | 198 | app:layout_constraintEnd_toStartOf="@+id/button_buy"
|
198 | 199 | app:layout_constraintHorizontal_chainStyle="spread"
|
199 | 200 | app:layout_constraintStart_toStartOf="@+id/guideline_vertical_start"
|
200 | 201 | app:layout_constraintTop_toBottomOf="@+id/movie_storyline" />
|
201 | 202 |
|
202 |
| - <Button |
| 203 | + <com.google.android.material.button.MaterialButton |
203 | 204 | android:id="@+id/button_buy"
|
204 |
| - style="@style/Widget.AppCompat.Button.Colored" |
| 205 | + style="@style/Widget.MaterialComponents.Button" |
205 | 206 | android:layout_width="0dp"
|
206 | 207 | android:layout_height="wrap_content"
|
207 | 208 | android:text="Buy from $19.99"
|
|
0 commit comments