add float control

Add a float control demo on xiaomi page