Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP-148 ui: history UI 구현 #46

Merged
merged 14 commits into from
Nov 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions presentation/history/src/main/res/layout/fragment_history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
android:layout_height="35dp"
app:layout_constraintTop_toBottomOf="@+id/tv_this_month"/>

<androidx.constraintlayout.widget.Group
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="visible"
app:constraint_referenced_ids="cl_this_month_clap, cl_this_month_achieve_days, cl_most_achieve, tv_ongoing_habit, rv_habit" />

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

신기하네요 !! 덕분에 좋은것? 알아갑니다!! 적용해서 제 코드도 수정해봐야겠어요👍

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_this_month_clap"
android:layout_width="0dp"
Expand Down Expand Up @@ -200,6 +206,7 @@
app:layout_constraintEnd_toEndOf="parent" />

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_most_achieve"
android:layout_width="0dp"
android:layout_height="212dp"
android:background="@drawable/bg_rect_green_sub_color_r10"
Expand Down Expand Up @@ -244,7 +251,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>

<TextView
android:id="@+id/tv_in_progress_object"
android:id="@+id/tv_ongoing_habit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="36dp"
Expand All @@ -255,13 +262,14 @@
app:layout_constraintTop_toBottomOf="@+id/cl_this_month_achieve_days" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_habit"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="12dp"
app:layout_constraintStart_toStartOf="@id/gl_begin"
app:layout_constraintEnd_toEndOf="@id/gl_end"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_in_progress_object"
app:layout_constraintTop_toBottomOf="@+id/tv_ongoing_habit"
tools:listitem="@layout/item_habit"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>