Skip to content

feat(android): add optional floating bottom navigation bar - #204

Open
qpst4 wants to merge 5 commits into
appshubcc:mainfrom
qpst4:feat/floating-nav-bar
Open

feat(android): add optional floating bottom navigation bar#204
qpst4 wants to merge 5 commits into
appshubcc:mainfrom
qpst4:feat/floating-nav-bar

Conversation

@qpst4

@qpst4 qpst4 commented Jun 25, 2026

Copy link
Copy Markdown

Summary

Adds an optional floating glass-style bottom navigation bar on Android (enabled by default in theme settings). When enabled, the nav bar renders as a frosted capsule above page content instead of a full-width docked bar.

Also improves the active tab indicator alignment so the selected pill sits flush with the capsule edges on the first and last tabs.

Changes

  • Floating nav bar UI: blur backdrop, rounded capsule, shadow, and safe-area spacing
  • Theme setting: new toggle useFloatingNavBar under Theme (with i18n for en / ru / zh-CN / zh-TC)
  • Layout integration: scroll padding and FAB position adjust when floating mode is active; disabled on Android TV
  • Active tab fit: full-width nav layout, spaceBetween alignment, tuned padding and border radius
  • Localization: regenerate l10n for new strings; remove invalid generic zh locale entry that broke builds

Test plan

  • Android phone: enable Theme → Floating navigation bar, verify capsule bar floats above content
  • Switch tabs (first / middle / last): active pill aligns with capsule left/right edges
  • Disable floating nav bar: classic full-width bottom bar still works
  • Dashboard / Proxies / Profiles / Tools: content is not obscured (scroll padding)
  • Android TV: floating bar is not used
  • Haptic feedback on tab switch still works when enabled

@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 7fc30ae to d12a095 Compare June 26, 2026 06:25
@appshubcc

Copy link
Copy Markdown
Owner

The floating bottom navigation feels a bit out of place with the current UI

@appshubcc
appshubcc force-pushed the main branch 3 times, most recently from 9fa80ff to 9ecb877 Compare July 5, 2026 09:59
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 6280e0f to d05cf43 Compare July 7, 2026 01:35
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from bb605a0 to 570c649 Compare July 18, 2026 17:07
@appshubcc
appshubcc force-pushed the main branch 2 times, most recently from 95bde57 to c0bb574 Compare August 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants