Skip to content

AppManager_v4.0.5-DEBUG#148

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Dec 08:00
· 413 commits to master since this release

Debug Build MuntashirAkon#148

Version: v4.0.5
Commit: 5bf90aa

Changes:

fix: Properly anchor search view to app bars for correct positioning

The search view was appearing in incorrect positions because it wasn't
properly anchored to the app bars in the CoordinatorLayout.

Changes:

  • Top toolbar mode: Anchor search view below AppBarLayout

    • Uses setAnchorId(R.id.top_app_bar_layout) with anchorGravity BOTTOM
    • Search view now appears directly below the toolbar
  • Bottom toolbar mode: Anchor search view above BottomAppBar

    • Uses setAnchorId(R.id.bottom_app_bar) with anchorGravity TOP
    • Search view now appears directly above the bottom bar

Technical Details:

  • CoordinatorLayout.LayoutParams.setAnchorId() positions view relative to anchor
  • anchorGravity determines which edge of anchor to align to
  • Replaces simple gravity positioning with proper anchoring
  • Ensures search view is always visible and positioned correctly

Fixes: Search appearing in "weird spot" when typing
Related: 65cfe07

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com


🤖 Automatically generated debug build