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

[feat] 대기 상세 뷰 구현 #7

Merged
merged 13 commits into from
Nov 26, 2023
Merged

Conversation

Doreminwoo
Copy link
Member

Work Description ✏️

  • 대기 상세 화면 구현!

Screenshot 📸

@Doreminwoo Doreminwoo added this to the 뷰 개발 milestone Nov 23, 2023
@Doreminwoo Doreminwoo self-assigned this Nov 23, 2023
@Doreminwoo Doreminwoo linked an issue Nov 23, 2023 that may be closed by this pull request
2 tasks
Copy link
Contributor

@jihyunniiii jihyunniiii left a comment

Choose a reason for hiding this comment

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

수고했서용 !!!! 진짜 잘한다 !

Comment on lines 18 to 20
<activity
android:name=".presentation.waiting.WaitingDetailActivity"
android:exported="false" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<activity
android:name=".presentation.waiting.WaitingDetailActivity"
android:exported="false" />
<activity
android:name=".presentation.waiting.WaitingDetailActivity"
android:exported="false"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity" />

추가해주셍요

Copy link
Member Author

Choose a reason for hiding this comment

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

아 이거 모든 액티비티마다 적어야 되는건가요???

Copy link
Contributor

Choose a reason for hiding this comment

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

네네 ㅠㅠ 다 적용해줘야함니다 ㅠ 제가 말을 안 해줬네요 제송티비

MutableLiveData<ResponseWaitingDetailDto.WaitingDetailData>()
val waitingDetail: LiveData<ResponseWaitingDetailDto.WaitingDetailData> = _waitingDetail

init {
Copy link
Contributor

Choose a reason for hiding this comment

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

짱이다 !!!!!!!!!

Copy link
Member Author

Choose a reason for hiding this comment

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

감삼둥!

Copy link
Contributor

Choose a reason for hiding this comment

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

요거 뒤에 px 지워주고 그냥 숫자만 써주셍요 전체적으로 다 !

Copy link
Member Author

Choose a reason for hiding this comment

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

app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:menu="@menu/item_waiting_detail_tb"
Copy link
Contributor

Choose a reason for hiding this comment

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

이거 그 새로고침 이미지 넣기 위해 한 건가요??? menu니까 네이밍은 menu_waiting_detail_tb로 하는 게 좋을 것 같구,,,, 이미지가 왤케 작아 보일까요? 기분탓인가,,, 한 번만 확인 부탁해염

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 이미지는 다시 새로 해봤는데도 크기가 똑같아요!

Comment on lines 31 to 40
<TextView
android:id="@+id/tv_waiting_detail_ing"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="17dp"
android:layout_marginTop="5dp"
android:text="@string/waiting_ing"
android:textColor="@color/gray_300"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tb_waiting_detail" />
Copy link
Contributor

Choose a reason for hiding this comment

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

TextAppearance 지정해주세용

Copy link
Member Author

Choose a reason for hiding this comment

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

넵!


<Button
android:id="@+id/btn_waiting_detail_call"
style="@style/Style.Material3.Button.Outlined.Custom"
Copy link
Contributor

Choose a reason for hiding this comment

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

야무지다 야무져

Comment on lines 114 to 144
<Button
android:id="@+id/btn_waiting_detail_call"
style="@style/Style.Material3.Button.Outlined.Custom"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
android:text="@string/call"
app:icon="@drawable/ic_call_gray_500_24px"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_waiting_detail_number" />

<Button
android:id="@+id/btn_waiting_detail_location"
style="@style/Style.Material3.Button.Outlined.Custom"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
android:text="@string/location"
app:icon="@drawable/ic_location_gray_500_24px"
app:layout_constraintStart_toEndOf="@id/btn_waiting_detail_call"
app:layout_constraintTop_toBottomOf="@id/tv_waiting_detail_number" />

<Button
android:id="@+id/btn_waiting_detail_store"
style="@style/Style.Material3.Button.Outlined.Custom"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

요 나란히 있는 버튼 3개를 구현할 때 저라면 기기 대응을 생각해서 체인을 걸어줄 것 같아요 !
기기에 맞춰 버튼 사이 공백 값을 동적으로 유지하기 위해서요 !
제 뷰에도 요런 버튼 3개 짜리가 있는데 제가 피알 올리면 어떤 식으로 구현했는지 한 번 참고하면 좋을 것 같네염 !!

Copy link
Member Author

@Doreminwoo Doreminwoo Nov 24, 2023

Choose a reason for hiding this comment

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

헉 그러네요 마진 패딩처리하느라 고생했는데 체인으로 묶어주니깐 균등하게 정렬되네요!
일단은 수정해뒀고 피알올리시면 참고하겠습니다!

Comment on lines +155 to +157
android:layout_marginStart="16dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="16dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
android:layout_marginStart="16dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="16dp"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="22dp"

Copy link
Member Author

Choose a reason for hiding this comment

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

오홍 저 속성 하나로 코드 한줄이 줄어드는군요
동일한 경우에는 사용하면 좋네요!

android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:layout_marginTop="22dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

8dp 인 듯요???

Copy link
Member Author

Choose a reason for hiding this comment

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

허걱 그러네요..
제가 조금 꼼꼼하지가 못하네요 ㅋㅎㅋㅎㅋㅎㅋㅋ

Comment on lines +38 to +55
<style name="Style.Material3.Button.Outlined" parent="Widget.Material3.Button.OutlinedButton">
<item name="cornerRadius">0dp</item>
<item name="android:padding">0dp</item>
<item name="android:drawablePadding">0dp</item>
</style>

<style name="Style.Material3.Button.Outlined.Custom" parent="Style.Material3.Button.Outlined">
<item name="cornerRadius">8dp</item>
<item name="iconTint">@null</item>
<item name="iconSize">@null</item>
<item name="backgroundColor">@color/white</item>
<item name="strokeColor">@color/gray_100</item>
<item name="android:paddingStart">16dp</item>
<item name="android:paddingEnd">29dp</item>
<item name="android:textColor">@color/gray_600</item>
<item name="android:textAppearance">@style/TextAppearance.Caption1.SemiBold</item>
</style>

Copy link
Contributor

Choose a reason for hiding this comment

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

아 야무지다 넘 잘한다 체고다

Copy link
Member Author

Choose a reason for hiding this comment

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

감사합니다!!
다 덕분입니다!

Copy link
Contributor

@HAJIEUN02 HAJIEUN02 left a comment

Choose a reason for hiding this comment

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

왤케 잘하시는 거에욥ㅜ.ㅜ

Merge branch 'develop' into feat-waiting-detail-view

# Conflicts:
#	app/src/main/AndroidManifest.xml
#	app/src/main/res/values/strings.xml
@Doreminwoo Doreminwoo merged commit 50323a2 into develop Nov 26, 2023
1 check passed
@Doreminwoo Doreminwoo deleted the feat-waiting-detail-view branch November 26, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feat] 대기 상세 뷰 구현
3 participants