这是一个使用renderscript库实现的模糊背景的对话框
defaultConfig {
...
renderscriptTargetApi 25
renderscriptSupportModeEnabled true
...
}
dependencies {
...
compile 'com.github.lany192:BlurDialog:1.0.0'
}
public class SampleDialogFragment extends BlurDialogFragment {
...
}
public class SampleBottomDialogFragment extends BlurBottomDialogFragment {
...
}
tvbarthel https://github.com/tvbarthel/BlurDialogFragment
Dmitry Saviuk https://github.com/Dimezis/BlurView