Blur wallpaper during pull down gesture
This commit is contained in:
parent
ca6c829071
commit
d228ba90a0
@ -768,7 +768,9 @@ class LauncherActivity : AppCompatActivity() {
|
|||||||
binding.container.translationY = 0f
|
binding.container.translationY = 0f
|
||||||
} else {
|
} else {
|
||||||
binding.container.translationY = binding.searchBar.height.toFloat()
|
binding.container.translationY = binding.searchBar.height.toFloat()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
windowBackgroundBlur = searchVisibility || newTransY > 0.6 * binding.searchBar.height
|
||||||
|
|
||||||
if (binding.container.translationY == 0f) return@onTouch false
|
if (binding.container.translationY == 0f) return@onTouch false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user