public ATableViewPlainFooterDrawable(ATableView tableView, int rowHeight) {
super(new RectShape());
Resources res = tableView.getResources();
mStrokeWidth = DrawableUtils.getStrokeWidth(res);
mStrokeOffset = (float) Math.ceil(rowHeight * res.getDisplayMetrics().density) + mStrokeWidth;
// stroke.
mStrokePaint = new Paint();
mStrokePaint.setStyle(Paint.Style.STROKE);
mStrokePaint.setStrokeWidth(mStrokeWidth);
mStrokePaint.setColor(DrawableUtils.getSeparatorColor(tableView));
}
ATableViewPlainFooterDrawable.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:ShangHanLun
作者:
评论列表
文章目录