Blurry icon indicating copy to clipboard operation
Blurry copied to clipboard

bottomsheetdialogframent

Open fukemy opened this issue 4 years ago • 0 comments

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:

device-2021-03-05-222235

fukemy avatar Mar 05 '21 15:03 fukemy