Documentation Index
Fetch the complete documentation index at: https://mintlify.com/QmDeve/QmBlurView-Docs/llms.txt
Use this file to discover all available pages before exploring further.
BlurBottomNavigationView is a bottom navigation bar that applies a real-time Gaussian blur to everything behind it, delivering a frosted-glass look consistent with the rest of the QmBlurView component suite. It supports menu resources, selected/unselected color theming, icon and text customization, and first-class binding to both ViewPager and ViewPager2. Because it lives in a separate artifact, you must add the navigation module dependency before using it.
Usage in XML Layout
API Reference
| Method Name | Description |
|---|---|
bind(Object) | Bind ViewPager or ViewPager2 |
setMenu(int) | Set menu resource |
setSelectedTab(int) | Set selected tab |
setSelectedColor(int) | Set selected item color |
setUnselectedColor(int) | Set unselected item color |
setIconSize(float) | Set icon size |
setTextSize(float) | Set text size |
setTextBold(boolean) | Set text bold |
Attribute Description
| Attribute Name | Type | Default Value | Description |
|---|---|---|---|
app:navBlurRadius | dimension | 25dp | Set blur radius |
app:navOverlayColor | color | #AAFFFFFF | Set overlay color |
app:menu | reference | null | Set menu resource |
app:navSelectedColor | color | BLUE | Set selected item color |
app:navUnselectedColor | color | GRAY | Set unselected item color |
app:item_iconSize | dimension | 24dp | Set icon size |
app:item_textSize | dimension | 12dp | Set text size |
app:item_textBold | boolean | false | Set text bold |
Binding to ViewPager or ViewPager2
Callbind() after setContentView to keep the navigation bar and pager in sync automatically: