|
|
@@ -51,7 +51,12 @@ public class HelpItemView extends FrameLayout {
|
|
|
tvHelp.setText(typedArray.getString(R.styleable.HelpItemView_help_text));
|
|
|
String content = typedArray.getString(R.styleable.HelpItemView_help_content);
|
|
|
if (!TextUtils.isEmpty(content)) {
|
|
|
- tvContent.setText(content);
|
|
|
+// if (content.contains("\n")) {
|
|
|
+// String str = content.replace("\n", "\n\u3000\u3000");
|
|
|
+// tvContent.setText("\u3000\u3000" + str);
|
|
|
+// } else {
|
|
|
+ tvContent.setText(content);
|
|
|
+// }
|
|
|
}
|
|
|
this.addView(child);
|
|
|
typedArray.recycle();
|