Android 绘制电池图标
效果图:代码public class BatteryView extends View { private int mMargin = 30; //电池内芯与边框的距离 private int mBoder = 20; //电池外框的宽带 private int mWidth = 700; //总长 private int mHeight = 400; //总高 private int mHeadWidth = 60; priva