-
Notifications
You must be signed in to change notification settings - Fork 130
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
[Android SDK] Edge to edge SettingsActivity #13469
base: 13270-android-sdk-update-target-sdk-to-35
Are you sure you want to change the base?
[Android SDK] Edge to edge SettingsActivity #13469
Conversation
…nd set app bar background color
…toolbar background
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
@irfano 👋 System status report It's another activity, and I believe it's been addressed already in the target branch Tbh, I don't see any issues with the rest of the screenshots. You mean the hole is on top of the layout? I think this is how it is supposed to be. Check screenshots: https://developer.android.com/develop/ui/views/layout/edge-to-edge |
…dge-to-edge-AppSettingsActivity
Version |
![]() ![]() I can't read texts behind the camera hole. I think there should be a margin on the left side. I found a similar example in Google documents. It states that we should apply insets so that UI is not hidden.
I think the second screenshot here shows how it’s supposed to be. Wdyt? |
…tivity' into 13350-edge-to-edge-AppSettingsActivity
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 13270-android-sdk-update-target-sdk-to-35 #13469 +/- ##
============================================================================
Coverage 41.36% 41.36%
- Complexity 6579 6580 +1
============================================================================
Files 1332 1332
Lines 77900 77902 +2
Branches 10724 10724
============================================================================
+ Hits 32225 32228 +3
Misses 42809 42809
+ Partials 2866 2865 -1 ☔ View full report in Codecov by Sentry. |
…dge-to-edge-AppSettingsActivity # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivity.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivityEdgeToEdgeHelper.kt
…dge-to-edge-AppSettingsActivity
@irfano 👋 Your understanding matches my. And I am trying to take a balanced approach here without changing too much in every fragment and at the same time to end up with an "as it was or better". If you have an idea how to archive the ideal state with minimum risk/changes, please suggest 🙏 |
@kidinov, I looked into this, and it seems there isn't a solution like using single function to handle all screens. The initial state of this PR wasn’t ideal since Google explicitly stated that the UI shouldn’t be hidden behind the camera. I tested the latest commit on Android 15 and Android 9 devices and I confirmed that it works as before.
WDYT? I think you're leaning toward the latter option, so I'd suggest opening an issue for "Edge-to-edge support of |
part: #13350
Description
The PR adapts App Settings Activity for edge to edge enabled due to target sdk 35
Testing information
The tests that have been performed
Above
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: