|
|
@@ -315,7 +315,14 @@ public class MainCategoryContentsImageView extends MainCategoryContentsView {
|
|
|
|
|
|
textBig.setText(bean.getTwoLineTitle());
|
|
|
textBig.measure(0, 0); // 이후 높이를 가져올 수 있다.
|
|
|
- textSmall.setText(bean.getSubTitleWithTrim());
|
|
|
+
|
|
|
+ //TODO: 서브타이틀 입력 오류로 콤마로 끝나는 서브타이틀 콤마 제거
|
|
|
+ String subtitle = bean.getSubTitleWithTrim();
|
|
|
+ if(subtitle.endsWith(",")) {
|
|
|
+ subtitle = subtitle.substring(0, subtitle.length()-1);
|
|
|
+ }
|
|
|
+ textSmall.setText(subtitle);
|
|
|
+// textSmall.setText(bean.getSubTitleWithTrim());
|
|
|
|
|
|
maskWidth = ResourceUtil.getDimension(R.dimen.main_contents_image_width);
|
|
|
int maskHeight = ResourceUtil.getDimension(R.dimen.main_contents_image_height);
|