Skip to content

Commit

Permalink
【Jiang】:修复字符间距
Browse files Browse the repository at this point in the history
  • Loading branch information
jxr202 committed Jul 18, 2018
1 parent 8fc6495 commit 30da6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion colorful-ui-example/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
jxr202:mLeftTitleTextSize="15sp"
jxr202:mRightImage="@drawable/ic_item_more"
jxr202:mRightImageVisibility="visible"
jxr202:mRightText="24小时不停"
jxr202:mRightText="24小时不停24小时不停24小时不停24小时不停24小时不停24小时不停"
jxr202:mRightTextColor="#999999"
jxr202:mRightTextSize="14sp"
jxr202:mRightTextVisibility="visible"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private void initTypedArray(Context context, AttributeSet attrs, int defStyleAtt
mLeftTitle.setVisibility(array.getInteger(R.styleable.ItemView_mLeftTitleTextVisibility, VISIBLE));
mLeftTitle.setEllipsize(TextUtils.TruncateAt.END);
mLeftTitle.setLines(1);
mLeftTitle.setPadding(dp2px(15), 0, dp2px(15), 0);
mLeftTitle.setPadding(dp2px(5), 0, dp2px(5), 0);

mRightIconId = array.getResourceId(R.styleable.ItemView_mRightImageId, R.id.rightIconId);
mRightIconVisibility = array.getInteger(R.styleable.ItemView_mRightImageVisibility, VISIBLE);
Expand Down

0 comments on commit 30da6de

Please sign in to comment.