WIP
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
- [x] Task 1: Define Colors and Theme
|
||||
- [x] Task 2: Create Initial Reusable Components
|
||||
- [x] Task 3: Implement Initial Screens (Splash, Onboarding)
|
||||
- [ ] Task 4: Complete Wallet Setup Flow
|
||||
- [ ] Add `MnemonicDisplayScreen` (24-word grid)
|
||||
- [ ] Add `MnemonicVerifyScreen` (Verification challenge)
|
||||
- [ ] Add `MnemonicInputScreen` (Recovery input)
|
||||
- [ ] Add `SetupSuccessScreen` (Reusable success layout)
|
||||
- [ ] Task 5: Implement Transaction Flow
|
||||
- [ ] Add `SendFormScreen` (Amount, Address, Dropdowns)
|
||||
- [ ] Add `SendReviewScreen` (Confirmation)
|
||||
- [ ] Add `QRScannerScreen` (Scanning mockup)
|
||||
- [ ] Add `QRReceiveScreen` (QR display)
|
||||
- [ ] Task 6: Implement Management & Settings
|
||||
- [ ] Add `SettingsScreen` (Biometrics toggle)
|
||||
- [ ] Add `ManageOverviewScreen` (Wallets/Accounts list)
|
||||
- [ ] Add `WalletDetailScreen` and `AccountDetailScreen`
|
||||
- [ ] Add `DeleteConfirmationScreen`
|
||||
- [ ] Add `ExplorerScreen` (Placeholder for Transactions)
|
||||
- [ ] Task 7: Update Router in MainActivity
|
||||
@@ -1,30 +0,0 @@
|
||||
# Walkthrough - Edge-to-Edge Layout Fixes
|
||||
|
||||
I have implemented comprehensive edge-to-edge layout support across the GajuMobile wallet. This ensures that UI elements, particularly bottom action buttons, are correctly positioned above system software navigation bars and below the status bar, preventing any awkward overlap on modern Android devices.
|
||||
|
||||
## Changes Made
|
||||
|
||||
### [core]
|
||||
- **[MODIFY] [MainActivity.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/MainActivity.kt):** Disabled `isNavigationBarContrastEnforced` to allow the app's custom theme and backgrounds to flow seamlessly into the system navigation area.
|
||||
|
||||
### [ui-components]
|
||||
- **[MODIFY] [GajuComponents.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/components/GajuComponents.kt):**
|
||||
- Updated `GajuBottomNavigation` to use `windowInsetsPadding(WindowInsets.navigationBars)`, ensuring the navigation icons stay above the system buttons.
|
||||
- Refactored `SuccessLayout` to use a proper `Scaffold` with a fixed `bottomBar` for action buttons, utilizing `innerPadding` for the main scrollable content.
|
||||
|
||||
### [ui-screens]
|
||||
- **[OnboardingFlow.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/OnboardingFlow.kt) & [SplashScreen.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/SplashScreen.kt):** Applied `safeDrawingPadding()` to top-level containers to keep branding and buttons within the safe viewport.
|
||||
- **[WalletSetupScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/WalletSetupScreens.kt), [TransactionScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/TransactionScreens.kt), & [ManagementScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/ManagementScreens.kt):**
|
||||
- Refactored screens with bottom buttons (e.g., Mnemonic Grid, Send Form, Manage Detail) to use `Scaffold`.
|
||||
- Moved action buttons into the `bottomBar` slot, ensuring they are fixed and correctly spaced above system navigation.
|
||||
- Wrapped middle content in `verticalScroll` and applied `innerPadding`, allowing long lists (like the 24-word recovery grid) to scroll properly without being cut off.
|
||||
|
||||
## Layout Improvements
|
||||
- **Fixed Overlap:** Critical buttons like "CONTINUE", "NEXT", and "SEND" are now guaranteed to be tappable and visible above software buttons.
|
||||
- **Scrolling Robustness:** Long forms and lists now utilize the full height of the screen, scrolling behind the transparent system bars while maintaining clear interaction boundaries.
|
||||
|
||||
## Verification Results
|
||||
|
||||
### Build & Deploy
|
||||
- Successfully executed `./gradlew assembleDebug`.
|
||||
- Verified in Compose Preview that the `bottomBar` correctly accounts for system insets in both Dark and Light modes.
|
||||
Reference in New Issue
Block a user