-
Notifications
You must be signed in to change notification settings - Fork 1
Heal 23 samsung galaxy z fold more info screen in landscape mode not able to scroll fully #854
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
base: main
Are you sure you want to change the base?
Conversation
…n on Android 10 IPC-756
…n ReviewView IPC-756
…iewBottomSheet IPC-756
…iewBottomSheet IPC-756
…ewFragment IPC-756
…-the-screen-while-rotation-on-Android-10 IPC 756 Keypad is not retaining on the screen while rotation on Android 10
… mode not able to scroll fully HEAL-23
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.
Pull Request Overview
This PR fixes a scrolling issue on Samsung Galaxy Z Fold devices in landscape mode by replacing ScrollView with NestedScrollView and adding keyboard state restoration logic across orientation changes.
Key Changes:
- Replaced
ScrollViewwithNestedScrollViewin the landscape layout, using proper ConstraintLayout constraints - Added keyboard state tracking and restoration for Android Q and below
- Implemented a reusable
showKeyboard()extension function
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| gps_fragment_payment_more_information.xml | Replaced ScrollView with NestedScrollView and added ConstraintLayout positioning constraints |
| Extensions.kt | Added showKeyboard() extension function for View to handle keyboard display across Android versions |
| ReviewBottomSheet.kt | Implemented focus and keyboard state tracking/restoration with lifecycle-aware cleanup |
| ReviewFragment.kt | Added keyboard state restoration logic for pre-Android R devices with proper cleanup |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
health-sdk/sdk/src/main/java/net/gini/android/health/sdk/review/ReviewFragment.kt
Show resolved
Hide resolved
health-sdk/sdk/src/main/java/net/gini/android/health/sdk/review/ReviewFragment.kt
Outdated
Show resolved
Hide resolved
...rc/main/java/net/gini/android/internal/payment/review/reviewBottomSheet/ReviewBottomSheet.kt
Outdated
Show resolved
Hide resolved
health-sdk/sdk/src/main/java/net/gini/android/health/sdk/review/ReviewFragment.kt
Outdated
Show resolved
Hide resolved
obaidgini
left a comment
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.
Hi @MozhganPeivandianSharbaf
Overall PR looks good 👌
There are small comments from my side, and I believe co-pilot comments are also valid, can you please take a look and resolve these? Thank you.
…lay duration in ReviewFragment HEAL-23
…ReviewFragment HEAL-23
No description provided.