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.
BlurButtonView is an Android button component that renders a live Gaussian blur behind its surface, producing a frosted-glass visual effect. It extends the standard button interaction model with blur radius, overlay color, rounded corners, and full icon customization — letting you create glassy call-to-action buttons that feel native to modern Android design.
Usage
Attributes
| Attribute | Type | Description |
|---|---|---|
app:buttonCornerRadius | dimension | Corner radius of the button surface |
app:buttonIconPadding | dimension | Padding between the icon and the button text |
app:buttonIconSize | dimension | Size of the button icon |
app:buttonTextBold | boolean | Whether the button label is rendered in bold |
app:blurRadius | dimension | Blur radius of the background blur effect |
app:overlayColor | color | Overlay color tinted on top of the blurred background |
app:buttonIconTint | color | Tint color applied to the button icon |
android:icon | — | Drawable resource used as the button icon |
android:text | — | Label text displayed on the button |
android:textSize | — | Font size of the button label |
API Reference
| Method | Description |
|---|---|
setText | Set the button label text |
setButtonCornerRadius | Set the corner radius of the button |
setTextSize | Set the font size of the label |
setTextColor | Set the color of the label text |
setTextBold | Set whether the label is bold |
setIcon / setIconResource | Set the button icon from a Drawable or resource ID |
setIconSize | Set the size of the button icon |
setIconPadding | Set the padding between the icon and the label |
setIconTint | Set the tint color applied to the icon |