Sitelet https://github.com/google/hover/tree/master/hoverdemo-helloworld
Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Hello World

It doesn't take much to get started with your own Hover menu. At a minimum, you need to handle the following responsibilities:

  1. Get permission to show an overlay (Android M and above).
  2. Extend HoverMenuService to show your own Hover menu.
  3. Implement a HoverMenu that provides the tabs and content you want in your menu.
  4. Send an Intent to your HoverMenuService to start it.