Nothing about the implementation is specific to kotlin. There's a bunch of libraries for "chat head", but google I think also killed off those libraries with stricter permissions and now gives you a way to do it following system apis. I hate when people give answers of "Just google it"... but yeah. Just google it.