[Android] Ensure soft keyboard doesnt obscure pay button#342
Draft
kiftio wants to merge 1 commit into
Draft
Conversation
This was referenced Jun 25, 2026
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
13 tasks
Package Size
Measured from the PR base SHA and PR head SHA. This comment reports package artifact sizes only; it is not a final app binary-size report. |
tiagocandido
approved these changes
Jun 25, 2026
c5523fb to
103fe88
Compare
f1fb763 to
4cbc3ec
Compare
e011191 to
0865dbe
Compare
0865dbe to
91f81d2
Compare
91f81d2 to
b014386
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

What changes are you making?
Replaces the deprecated
SOFT_INPUT_ADJUST_RESIZEsoft input mode on the checkout dialog withSOFT_INPUT_ADJUST_NOTHING, and introduces explicit IME inset handling viaWindowInsetsCompat. When the keyboard appears, the root view's bottom padding is adjusted to push checkout content up rather than relying on the window resizing.A new
CheckoutDialogKeyboardInsetsclass attaches aWindowInsetsCompatlistener to the root view and applies top/bottom padding based on system bar and IME insets, with a small tolerance to avoid double-applying insets that the system has already accounted for. AnapplyKeyboardInsetmethod is also exposed onCheckoutDialogfor cases where the inset needs to be applied directly.The dialog layout has been migrated from a
RelativeLayoutroot to aLinearLayout(checkoutKitRoot) so the toolbar and content container stack vertically. The container useslayout_height="0dp"withlayout_weight="1"to fill remaining space. Window configuration (transparent background,MATCH_PARENTdimensions,setDecorFitsSystemWindows(false), and clearing fit inset types on API 30+) is now consolidated into aWindow.configureForCheckoutDialog()extension function.The dialog window is set to
MATCH_PARENTheight only aftershow()is called, since window dimensions are only reliably applied at that point.Before you merge
Important
platforms/swift/README.mdand/orplatforms/android/README.md)Releasing a new Swift version?
ShopifyCheckoutKit.podspecplatforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swiftplatforms/swift/CHANGELOG.mdplatforms/swift/README.md(major version only)Releasing a new Embedded Checkout Protocol version?
embeddedCheckoutProtocolAndroidinplatforms/android/gradle/libs.versions.tomlprotocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.apiif the public API changedReleasing a new Android version?
checkoutKitAndroidinplatforms/android/gradle/libs.versions.tomlplatforms/android/CHANGELOG.mdplatforms/android/README.mdTip
See the Contributing documentation for the full release process per platform.