Skip to content

Commit

Permalink
[UI] #14-activity_home.xml(full job list type view)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyun127 committed May 26, 2023
1 parent 2ad72d3 commit 6ae663d
Showing 1 changed file with 52 additions and 4 deletions.
56 changes: 52 additions & 4 deletions app/src/main/res/layout/activity_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
app:layout_constraintTop_toTopOf="parent" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_card"
android:id="@+id/rv_home_recommend"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="12dp"
Expand Down Expand Up @@ -106,7 +106,7 @@
android:textAppearance="@style/TextAppearance.Carrot.sub_title_bold_12"
android:textColor="@color/color_sub_gray1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/rv_home_card"
app:layout_constraintTop_toBottomOf="@id/rv_home_recommend"
tools:ignore="TouchTargetSizeCheck"
tools:layout_editor_absoluteX="16dp" />

Expand Down Expand Up @@ -226,11 +226,11 @@
android:clipToOutline="true"
android:scaleType="centerCrop"
android:src="@drawable/img_entry"
app:layout_constraintBottom_toTopOf="@id/rv_home_list"
app:layout_constraintBottom_toTopOf="@id/rv_home_select_list"
app:layout_constraintTop_toBottomOf="@id/tv_home_notification_1" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_list"
android:id="@+id/rv_home_select_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
Expand All @@ -247,6 +247,54 @@
android:layout_marginTop="6dp"
android:background="@color/white">

<TextView
android:id="@+id/tv_home_today_popularity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="18dp"
android:drawableStart="@drawable/ic_star"
android:drawablePadding="4dp"
android:text="오늘의 인기 알바"
android:textAppearance="@style/TextAppearance.Carrot.sub_title_bold_16"
android:textColor="@color/color_sub_gray1"
app:layout_constraintTop_toTopOf="parent" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_today_popularity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:orientation="horizontal"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintTop_toBottomOf="@id/tv_home_today_popularity"
tools:listitem="@layout/item_home_today_popularity_job" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_full"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/rv_home_today_popularity"
tools:itemCount="5"
tools:listitem="@layout/item_home_full_job" />

<View
android:id="@+id/view_item_home_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginHorizontal="16dp"
android:layout_marginBottom="5dp"
android:background="@color/color_sub_gray7"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/rv_home_full" />


</androidx.constraintlayout.widget.ConstraintLayout>


Expand Down

0 comments on commit 6ae663d

Please sign in to comment.