Open fukemy opened 3 years ago
hello i'm implemented blury with bottomsheetdialogframent but the result not the same as expected. Here is my code:
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) blurView.post { Blurry.with(context).radius(25).sampling(2) .async().animate(300).onto(blurView) } }
bottom sheet layout
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/transparent" android:fitsSystemWindows="true" android:orientation="vertical" app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> <FrameLayout android:id="@+id/blurView" android:layout_width="match_parent" android:layout_height="wrap_content"> <com.rafakob.drawme.DrawMeLinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" app:dm_backColor="@color/background_light" android:orientation="vertical" app:dm_radiusTopLeft="12dp" app:dm_radiusTopRight="12dp"> <....>
here is result:
hello i'm implemented blury with bottomsheetdialogframent but the result not the same as expected. Here is my code:
bottom sheet layout
here is result: