-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: 공모 상세 페이지 진입 시 로딩이 된 후에 화면을 보여주도록 수정 #609
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
d891007
build: skeleton-ui 의존성 추가
Namyunsuk 36fdc1a
feat: shimmer 레이아웃 작성
Namyunsuk 04624c6
feat: skeleton ui구현
Namyunsuk 9d3fc23
Merge branch 'develop' into feature/544-offering-detail-skeleton-ui
Namyunsuk 4c9aeab
refactor: visibility를 여부 로직을 databinding으로 이동
Namyunsuk 0974283
chore: git 충돌 해결
Namyunsuk df6ac41
Revert "refactor: visibility를 여부 로직을 databinding으로 이동"
Namyunsuk 4719e45
refactor: visibility여부 로직을 databinding으로 이동
Namyunsuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
197 changes: 197 additions & 0 deletions
197
android/app/src/main/res/layout/fragment_offering_detail_shimmer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,197 @@ | ||
<?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"> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ImageView | ||
android:id="@+id/iv_product" | ||
android:layout_width="match_parent" | ||
android:layout_height="250dp" | ||
android:adjustViewBounds="true" | ||
android:background="@color/gray_300" | ||
android:scaleType="centerCrop" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="0.0" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="@dimen/size_200" | ||
android:layout_height="@dimen/size_44" | ||
android:layout_marginStart="23dp" | ||
android:layout_marginTop="18dp" | ||
android:background="@color/gray_300" | ||
android:paddingBottom="12dp" | ||
app:layout_constraintBottom_toTopOf="@id/iv_user_emoticon" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/iv_product" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_user_emoticon" | ||
android:layout_width="15dp" | ||
android:layout_height="11dp" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/tv_title" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_nickname" | ||
android:layout_width="@dimen/size_80" | ||
android:layout_height="@dimen/size_20" | ||
android:layout_marginStart="8dp" | ||
android:fontFamily="@font/suit_medium" | ||
android:textColor="@color/gray_900" | ||
android:textSize="14sp" | ||
app:layout_constraintStart_toEndOf="@id/iv_user_emoticon" | ||
app:layout_constraintTop_toBottomOf="@id/tv_title" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_product_link_comment" | ||
android:layout_width="@dimen/size_60" | ||
android:layout_height="@dimen/size_20" | ||
android:layout_marginTop="18dp" | ||
app:layout_constraintBottom_toTopOf="@id/horizon_line" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/tv_nickname" /> | ||
|
||
|
||
<View | ||
android:id="@+id/horizon_line" | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="12dp" | ||
android:background="@color/horizon_line" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/tv_product_link_comment" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_money" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/horizon_line" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_moeny_comment" | ||
android:layout_width="@dimen/size_50" | ||
android:layout_height="@dimen/size_18" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="15dp" | ||
app:layout_constraintBottom_toBottomOf="@id/iv_money" | ||
app:layout_constraintStart_toEndOf="@id/iv_money" | ||
app:layout_constraintTop_toBottomOf="@id/horizon_line" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_divided_price" | ||
android:layout_width="@dimen/size_70" | ||
android:layout_height="@dimen/size_24" | ||
android:layout_marginTop="8dp" | ||
android:textSize="18sp" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/iv_money" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_total_price" | ||
android:layout_width="@dimen/size_80" | ||
android:layout_height="@dimen/size_15" | ||
android:layout_marginStart="5dp" | ||
android:layout_marginTop="8dp" | ||
app:layout_constraintBottom_toBottomOf="@id/tv_divided_price" | ||
app:layout_constraintStart_toEndOf="@id/tv_divided_price" | ||
app:layout_constraintTop_toBottomOf="@id/iv_money" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_time" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="23dp" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/tv_divided_price" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_meeting_date_comment" | ||
android:layout_width="@dimen/size_60" | ||
android:layout_height="@dimen/size_20" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="23dp" | ||
app:layout_constraintBottom_toBottomOf="@id/iv_time" | ||
app:layout_constraintStart_toEndOf="@id/iv_time" | ||
app:layout_constraintTop_toBottomOf="@id/tv_divided_price" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_meeting_date" | ||
android:layout_width="90dp" | ||
android:layout_height="@dimen/size_18" | ||
android:layout_marginTop="8dp" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/iv_time" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_location" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="60dp" | ||
android:layout_marginTop="23dp" | ||
app:layout_constraintStart_toEndOf="@id/tv_meeting_date_comment" | ||
app:layout_constraintTop_toBottomOf="@id/tv_divided_price" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_recruit_location_comment" | ||
android:layout_width="90dp" | ||
android:layout_height="@dimen/size_18" | ||
android:layout_marginTop="23dp" | ||
app:layout_constraintBottom_toBottomOf="@id/iv_location" | ||
app:layout_constraintStart_toEndOf="@id/iv_location" | ||
app:layout_constraintTop_toBottomOf="@id/tv_divided_price" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_meeting_address" | ||
android:layout_width="@dimen/size_70" | ||
android:layout_height="@dimen/size_18" | ||
android:layout_marginTop="8dp" | ||
android:ellipsize="end" | ||
android:maxLines="2" | ||
android:paddingEnd="@dimen/size_5" | ||
app:layout_constraintStart_toStartOf="@id/iv_location" | ||
app:layout_constraintTop_toBottomOf="@id/iv_location" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_content_comment" | ||
android:layout_width="@dimen/size_40" | ||
android:layout_height="@dimen/size_20" | ||
android:layout_marginTop="30dp" | ||
app:layout_constraintStart_toStartOf="@id/tv_meeting_date" | ||
app:layout_constraintTop_toBottomOf="@id/tv_meeting_date" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_content" | ||
android:layout_width="0dp" | ||
android:layout_height="@dimen/size_150" | ||
android:layout_marginTop="18dp" | ||
android:layout_marginEnd="18dp" | ||
android:background="@color/gray_300" | ||
android:paddingBottom="@dimen/size_50" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="@id/tv_title" | ||
app:layout_constraintTop_toBottomOf="@id/tv_content_comment" /> | ||
|
||
<Button | ||
android:id="@+id/btn_participate" | ||
android:layout_width="0dp" | ||
android:layout_height="@dimen/size_60" | ||
android:layout_marginHorizontal="19dp" | ||
android:layout_marginBottom="20dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 시머~~