不显示 tag value

This commit is contained in:
seven332 committed 2014-07-13 18:09:25 +08:00
1 parent 7efed23ddf
commit 5cdc004829
1 file changed
+1 -1
@@ -455,7 +455,7 @@ public class DetailSectionFragment extends Fragment
final String tagText = tag.getKey();
Button tagView = new Button(mActivity);
tagView.setTextSize(TypedValue.COMPLEX_UNIT_PX, tagTextSize);
tagView.setText(String.format("%s (%d)", tagText, tag.getValue()));
tagView.setText(tagText);
tagView.setTextColor(tagTextColor);
tagView.setBackgroundDrawable(Theme.getClickDrawable(mActivity, color));
tagView.setPadding(tagPaddingX, tagPaddingY, tagPaddingX, tagPaddingY);