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

Minor UI changes for TransformVideoPage #128

Merged
merged 5 commits into from
Dec 9, 2023

Conversation

peng-u-0807
Copy link
Contributor

수정사항

  • 비디오 화면에 진입하면 자동으로 비디오가 재생됩니다
  • 변환이 완료되면 뒤의 배경을 어둡게 처리하여 변환 결과가 더 잘 보이도록 합니다
  • 비디오 Player에서 재생/일시정지 버튼만 보이도록 수정했습니다

Copy link
Contributor

@thisisWooyeol thisisWooyeol left a comment

Choose a reason for hiding this comment

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

추가적으로 PlayEmojiView에도 동일하게 버튼 없애면 좋을 것 같습니다!

@@ -45,6 +46,7 @@ import androidx.compose.ui.viewinterop.AndroidView
import androidx.media3.common.MediaItem
import androidx.media3.common.Player
import androidx.media3.exoplayer.ExoPlayer
import androidx.media3.ui.AspectRatioFrameLayout.RESIZE_MODE_FILL
Copy link
Contributor

Choose a reason for hiding this comment

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

@peng-u-0807 혹시
import androidx.media3.ui.AspectRatioFrameLayout.RESIZE_MODE_FILL
resize mode fill과 resize mode fit중에 어떤 게 나을까요? 정방형 영상을 보니 너무 위아래로 늘어난 게 아닌가 싶어서 여쭙습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thisisWooyeol 안그래도 영상이 좀 이상하게 보이는 것 같아 확인해보니 원하는 결과를 얻으려면AspectRatioFramLayout.RESIZE_MODE_ZOOM을 사용해야할 것 같아 ZOOM으로 수정했습니다!

@thisisWooyeol thisisWooyeol self-requested a review December 9, 2023 13:19
@thisisWooyeol thisisWooyeol merged commit ad800a4 into develop Dec 9, 2023
2 checks passed
@thisisWooyeol thisisWooyeol deleted the fix/android-transform-UI branch December 9, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants