Skip to content

Commit

Permalink
解决选择器部分条目概率不显示的问题,感谢亮亮同学
Browse files Browse the repository at this point in the history
  • Loading branch information
liyujiang-gzu committed Mar 19, 2017
1 parent 9e3d076 commit 6d3a09b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ private void init(Context context) {
textView.setIncludeFontPadding(false);
textView.setGravity(Gravity.CENTER);
textView.setTextColor(Color.BLACK);
LayoutParams textParams = new LayoutParams(MATCH_PARENT, WRAP_CONTENT);
LayoutParams textParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
addView(textView, textParams);
}

Expand Down

0 comments on commit 6d3a09b

Please sign in to comment.