Greenstand / Greenstand/treetracker-android

Fix UI rendering issues in edge-to-edge mode (camera, snackbar)

Open
#1,219 1 comment 0 reactions 1 assignee Claimed by @Elforama View on GitHub
Dominant language
Kotlin
Stars
101
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Related PRs: #1194 #1195

**Summary**
Fix two UI rendering issues caused by edge-to-edge mode: the camera preview extending behind the bottom bar, and the snackbar rendering at the top of the screen instead of the bottom.

**Motivation**
After enabling edge-to-edge, the camera preview and snackbar did not respect system bar boundaries, resulting in obscured UI and a broken user experience.

**Acceptance criteria**
- [ ] Camera preview should not extend behind the bottom button bar on capture and selfie screens
- [ ] Capture button should be centred and aligned correctly on the selfie screen
- [ ] Snackbar should render at the bottom of the screen, not the top
- [ ] Snackbar should not be obscured by the navigation bar

**References**
Closes #1194, #1195

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.