Make recipe cards elevated
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="8dp"
|
android:layout_marginHorizontal="@dimen/margin_small"
|
||||||
android:layout_marginTop="7dp"
|
android:layout_marginTop="7dp"
|
||||||
android:textAppearance="?textAppearanceHeadline6"
|
android:textAppearance="?textAppearanceHeadline6"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/description"
|
app:layout_constraintBottom_toTopOf="@+id/description"
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
android:id="@+id/description"
|
android:id="@+id/description"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="8dp"
|
android:layout_marginHorizontal="@dimen/margin_small"
|
||||||
android:layout_marginTop="6dp"
|
android:layout_marginTop="6dp"
|
||||||
android:textAppearance="?textAppearanceBody2"
|
android:textAppearance="?textAppearanceBody2"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/ingredients_holder"
|
app:layout_constraintBottom_toTopOf="@+id/ingredients_holder"
|
||||||
@@ -73,10 +73,10 @@
|
|||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/ingredients_holder"
|
android:id="@+id/ingredients_holder"
|
||||||
style="?materialCardViewOutlinedStyle"
|
style="?materialCardViewElevatedStyle"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="8dp"
|
android:layout_marginHorizontal="@dimen/margin_small"
|
||||||
android:layout_marginTop="11dp"
|
android:layout_marginTop="11dp"
|
||||||
android:layout_marginBottom="20dp"
|
android:layout_marginBottom="20dp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/instructions_header"
|
app:layout_constraintBottom_toTopOf="@+id/instructions_header"
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="35dp"
|
android:layout_marginStart="35dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="@dimen/margin_small"
|
||||||
android:text="@string/fragment_recipe_info_instructions_header"
|
android:text="@string/fragment_recipe_info_instructions_header"
|
||||||
android:textAppearance="?textAppearanceHeadline6"
|
android:textAppearance="?textAppearanceHeadline6"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/instructions_list"
|
app:layout_constraintBottom_toTopOf="@+id/instructions_list"
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
style="?materialCardViewOutlinedStyle"
|
style="?materialCardViewElevatedStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp">
|
android:layout_margin="@dimen/margin_small">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user