[1]通过原生的控件进行组合达到自定义的需求 [2]定义一个类继承View [3]定义一个类继承ViewGroup 转载于:https://www.cnblogs.com/nangongyibin/p/10322776.html