Skip to content

Commit

Permalink
[UI] : rv set #13
Browse files Browse the repository at this point in the history
  • Loading branch information
lsakee committed Nov 22, 2023
1 parent 7caf3fb commit be6ee34
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 4 deletions.
53 changes: 53 additions & 0 deletions app/src/main/res/layout/activity_explore_meeting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,59 @@
android:layout_marginTop="15dp"
app:layout_constraintTop_toBottomOf="@id/tl_neighbor_meeting" />

<TextView
android:id="@+id/tv_new_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="새로 생겼어요"
android:textAppearance="@style/TextAppearance.AppleSDGothic.TitleBd"
android:textColor="@color/carrot_black"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/viewpager_meeting" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_new_meeting_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingVertical="4dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_new_title" />

<TextView
android:id="@+id/tv_meeting_all_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/carrot_grey100"
android:gravity="center"
android:paddingHorizontal="129dp"
android:paddingVertical="12dp"
android:text="전체보기"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Subtitle"
android:textColor="@color/carrot_black"
app:layout_constraintTop_toBottomOf="@id/rv_new_meeting_list" />

<TextView
android:id="@+id/tv_meeting_highlight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="새로 생겼어요"
android:textAppearance="@style/TextAppearance.AppleSDGothic.TitleBd"
android:textColor="@color/carrot_black"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_meeting_all_view" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_meeting_highlight"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingVertical="4dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_meeting_highlight" />

<Button
android:id="@+id/btn_sample"
android:layout_width="wrap_content"
Expand Down
12 changes: 12 additions & 0 deletions app/src/main/res/layout/item_fragment_meeting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,17 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_recommend" />

<TextView
android:id="@+id/tv_all_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/carrot_black"
android:text="전체보기"
android:background="@color/carrot_grey100"
app:layout_constraintTop_toBottomOf="@id/rv_meeting_list"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Subtitle"
android:gravity="center"
android:paddingVertical="12dp"
android:paddingHorizontal="129dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
10 changes: 6 additions & 4 deletions app/src/main/res/layout/item_meeting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="103명 "
android:textAppearance="@style/TextAppearance.AppleSDGothic.Info"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Body"
android:textColor="@color/carrot_grey500"
app:layout_constraintBottom_toTopOf="@+id/tv_meeting_place"
app:layout_constraintStart_toEndOf="@id/iv_meeting_user_list"
app:layout_constraintTop_toTopOf="@id/iv_meeting_user_list" />

Expand All @@ -60,8 +61,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="방금활동"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Info"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Body"
android:textColor="@color/carrot_secondary_blue"
app:layout_constraintBottom_toTopOf="@+id/tv_meeting_title"
app:layout_constraintStart_toEndOf="@id/tv_meeting_list_count"
app:layout_constraintTop_toTopOf="@id/iv_meeting_user_list" />

Expand All @@ -75,7 +77,7 @@
android:textAppearance="@style/TextAppearance.AppleSDGothic.Tag"
android:textColor="@color/carrot_grey500"
app:layout_constraintStart_toEndOf="@id/iv_meeting_user_list"
app:layout_constraintTop_toBottomOf="@id/tv_meeting_list_count" />
app:layout_constraintBottom_toBottomOf="@id/cv_meeting_iv" />

<TextView
android:id="@+id/tv_meeting_title"
Expand All @@ -87,7 +89,7 @@
android:textAppearance="@style/TextAppearance.AppleSDGothic.Tag"
android:textColor="@color/carrot_grey500"
app:layout_constraintStart_toEndOf="@id/tv_meeting_place"
app:layout_constraintTop_toBottomOf="@id/tv_meeting_list_count" />
app:layout_constraintBottom_toBottomOf="@id/cv_meeting_iv"/>

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
34 changes: 34 additions & 0 deletions app/src/main/res/layout/item_meeting_highlight.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingEnd="8dp">

<androidx.cardview.widget.CardView
android:id="@+id/cv_meeting_iv"
android:layout_width="104dp"
android:layout_height="158dp"
app:cardCornerRadius="9dp"
app:cardElevation="0dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/ic_launcher_background" />
</androidx.cardview.widget.CardView>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="11dp"
android:text="러닝크루"
android:layout_marginBottom="7dp"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Body"
android:textColor="@color/carrot_white"
app:layout_constraintBottom_toBottomOf="@id/cv_meeting_iv"
app:layout_constraintStart_toStartOf="@+id/cv_meeting_iv" />
</androidx.constraintlayout.widget.ConstraintLayout>
77 changes: 77 additions & 0 deletions app/src/main/res/layout/item_meeting_new.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">

<data>

</data>

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="11dp">

<androidx.cardview.widget.CardView
android:id="@+id/cv_meeting_iv"
android:layout_width="60dp"
android:layout_height="60dp"
app:cardCornerRadius="12dp"
app:cardElevation="0dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/ic_launcher_background" />
</androidx.cardview.widget.CardView>

<TextView
android:id="@+id/tv_meeting_list_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="13dp"
android:text="새벽배드민턴 용인수지죽전아르피아"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Subtitle"
app:layout_constraintStart_toEndOf="@id/cv_meeting_iv"
app:layout_constraintTop_toTopOf="@id/cv_meeting_iv" />

<TextView
android:id="@+id/tv_meeting_list_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="다양한 기법으로 투자하는 관점"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Body"
android:textColor="@color/carrot_grey500"
app:layout_constraintBottom_toTopOf="@+id/tv_meeting_place"
app:layout_constraintStart_toStartOf="@id/tv_meeting_list_title"
app:layout_constraintTop_toBottomOf="@id/tv_meeting_list_title" />

<TextView
android:id="@+id/tv_meeting_place"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/shape_grey100_fill_3_rect"
android:drawableStart="@drawable/ic_location"
android:text="신봉동"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Tag"
android:textColor="@color/carrot_grey500"
app:layout_constraintStart_toStartOf="@id/tv_meeting_list_title"
app:layout_constraintBottom_toBottomOf="@id/cv_meeting_iv" />

<TextView
android:id="@+id/tv_meeting_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:background="@drawable/shape_grey100_fill_3_rect"
android:text="운동"
android:textAppearance="@style/TextAppearance.AppleSDGothic.Tag"
android:textColor="@color/carrot_grey500"
app:layout_constraintStart_toEndOf="@id/tv_meeting_place"
app:layout_constraintBottom_toBottomOf="@id/cv_meeting_iv"/>

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit be6ee34

Please sign in to comment.