learn submenu, add submenu in code or xml file

Signed-off-by: YoungLeeForeverBoy <ly513782705@gmail.com>