Customize Your Hover Notifications with xHover Xposed Module
One of Android L’s most interesting features is its way of handling notifications, choosing to show a hovering dialog containing them, which you can interact with or swipe away. This allows you to view and interact with notifications without needing to pull down your notification shade and subsequently break your workflow. However, the source code for this was found in Android 4.4 KitKat and a similar feature was developed by the ParanoidAndroid team and baked into their ROMs.
However, ParanoidAndroid’s Hover feature, despite its ahead-of-its-time nature, lacks any form of customization or tweaks to modify Hover’s attributes. XDA Senior Member xenon92 has a fix for this, in the form of his xHover Xposed module. This handy module allows you to customize several features of Hover, such as timeout, notification waiting evade notifications and more. And as you would expect from an Xposed module, installation is as simple as installing the module APK, enabling it in the Xposed installer, and then rebooting your device. From there, you have a nice GUI to control it all.
Head on over to the xHover Xposed module thread to get started with Hover customization or to view the xHover source code. Keep in mind that this requires the Xposed framework to run, but will run on any custom ROM that has Hover included.