|
@@ -1,6 +1,5 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout 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:tool="http://schemas.android.com/tools"
|
|
xmlns:tool="http://schemas.android.com/tools"
|
|
android:id="@+id/content_layout"
|
|
android:id="@+id/content_layout"
|
|
@@ -22,7 +21,7 @@
|
|
android:layout_marginTop="@dimen/convert_13px"
|
|
android:layout_marginTop="@dimen/convert_13px"
|
|
android:layout_marginEnd="@dimen/convert_15px"
|
|
android:layout_marginEnd="@dimen/convert_15px"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/iv_like"
|
|
android:id="@+id/iv_like"
|
|
@@ -58,51 +57,85 @@
|
|
android:ellipsize="marquee"
|
|
android:ellipsize="marquee"
|
|
android:focusable="true"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:focusableInTouchMode="true"
|
|
- android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:includeFontPadding="false"
|
|
android:includeFontPadding="false"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
android:textColor="@color/food_name"
|
|
android:textColor="@color/food_name"
|
|
android:textSize="@dimen/convert_30px"
|
|
android:textSize="@dimen/convert_30px"
|
|
- app:layout_constraintBottom_toTopOf="@+id/tv_time_and_level"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/iv_net"
|
|
app:layout_constraintStart_toEndOf="@+id/iv_net"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/iv_cover"
|
|
tool:text="Guacamole" />
|
|
tool:text="Guacamole" />
|
|
|
|
|
|
|
|
+
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tv_time_and_level"
|
|
android:id="@+id/tv_time_and_level"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/convert_22px"
|
|
android:layout_marginStart="@dimen/convert_22px"
|
|
|
|
+ android:layout_marginTop="@dimen/convert_6px"
|
|
android:layout_marginEnd="@dimen/convert_10px"
|
|
android:layout_marginEnd="@dimen/convert_10px"
|
|
android:layout_marginBottom="@dimen/convert_8px"
|
|
android:layout_marginBottom="@dimen/convert_8px"
|
|
android:ellipsize="end"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
android:textColor="@color/color_A3A3A2"
|
|
android:textColor="@color/color_A3A3A2"
|
|
android:textSize="@dimen/convert_26px"
|
|
android:textSize="@dimen/convert_26px"
|
|
- app:layout_constraintBottom_toTopOf="@+id/star_view"
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_food_name"
|
|
|
|
+
|
|
tool:text="5min・Easy" />
|
|
tool:text="5min・Easy" />
|
|
|
|
|
|
- <com.develop.common.widget.StarView
|
|
|
|
- android:id="@+id/star_view"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginStart="@dimen/convert_22px"
|
|
|
|
- android:layout_marginBottom="@dimen/convert_20px"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/convert_6px"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_time_and_level"
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <com.develop.common.widget.StarView
|
|
|
|
+ android:id="@+id/star_view"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginStart="@dimen/convert_22px"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
android:id="@+id/iv_content_new"
|
|
android:id="@+id/iv_content_new"
|
|
- android:layout_width="@dimen/convert_26px"
|
|
|
|
- android:layout_height="@dimen/convert_26px"
|
|
|
|
|
|
+ android:layout_width="@dimen/convert_26px"
|
|
|
|
+ android:layout_height="@dimen/convert_26px"
|
|
|
|
+ android:layout_marginStart="@dimen/convert_22px"
|
|
|
|
+ android:src="@drawable/recipe_content_new"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/easy_layout"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:visibility="gone"
|
|
android:layout_marginStart="@dimen/convert_22px"
|
|
android:layout_marginStart="@dimen/convert_22px"
|
|
- android:src="@drawable/recipe_content_new"
|
|
|
|
- android:visibility="invisible"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
- android:layout_marginBottom="@dimen/convert_22px"
|
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/star_view"
|
|
|
|
|
|
|
|
- />
|
|
|
|
|
|
+ >
|
|
|
|
+ <View
|
|
|
|
+ android:layout_width="@dimen/convert_40px"
|
|
|
|
+ android:layout_height="@dimen/convert_40px"
|
|
|
|
+ android:background="@drawable/ic_detail_easy"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_easy"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textColor="@color/cook_detail_info"
|
|
|
|
+ android:textSize="@dimen/convert_26px"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|