Skip to content

Commit

Permalink
#perf 优化toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
MirkoWu committed Apr 21, 2023
1 parent 2dd0d21 commit 5968b85
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ private void init(Context context, AttributeSet attrs) {
ivRight = view.findViewById(R.id.iv_right);
vLine = view.findViewById(R.id.v_line);

setBackgroundColor(Color.WHITE);
setTitle(title);
setTitleColor(mTitleColorId);
setTitleTextSize(TypedValue.COMPLEX_UNIT_PX, mTitleTextSize);
Expand Down

0 comments on commit 5968b85

Please sign in to comment.