In 2021 Glass morphism UI is in trend. As a new android developer I want to add glass morphism effect in my android app so I search my query on google but I didn't get any answer to that how can I add glass morphism effect in my android app.
Should I have to write code for Glass Morphism effect or we can simply add through xml design.
Glassmorphism effect is basically combination of blur and opacity. You can use one of many libraries for blur effect or you can write your own blur function. Then you can change the opacity of any view present in android both programmatically or in xml.
android:alpha="0.6"
You can checkout this link for blur libraries.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With