ProgramInfoViewBase.java 文件源码

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

项目:zapp 作者:
public ProgramInfoViewBase(Context context, AttributeSet attrs) {
    super(context, attrs);

    setOrientation(LinearLayout.VERTICAL);
    setGravity(Gravity.CENTER_VERTICAL);

    LayoutInflater inflater = (LayoutInflater) context
        .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    //noinspection ConstantConditions
    inflater.inflate(getViewId(), this, true);

    ButterKnife.bind(this, this);

    showProgressAnimator = (ObjectAnimator) AnimatorInflater.loadAnimator(context,
        R.animator.view_program_info_show_progress);
    showProgressAnimator.setTarget(progressBarView);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号