https://alandroidnet.com/related/floating and sinking examples