Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bottomsheetdialogframent #109

Open
fukemy opened this issue Mar 5, 2021 · 0 comments
Open

bottomsheetdialogframent #109

fukemy opened this issue Mar 5, 2021 · 0 comments

Comments

@fukemy
Copy link

fukemy commented Mar 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant