ATableViewPlainFooterDrawable.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:ShangHanLun 作者:
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));
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号