在父控件中设:
android:weightSum=“3”
在子控件中设:
android:layout_width=“0dip”
android:layout_height=“match_parent”
android:layout_weight=“1”
参考:
https://blog.csdn.net/android_cmos/article/details/50783745
http://www.cnblogs.com/loaderman/p/6525078.html