Android TextView省略Html文本错误

Android TextView省略Html文本错误,android,textview,Android,Textview,我对TextView中的省略号有一些问题 以下是html字符串: final String str = "His followed carriage proposal entrance <br/>directly had elegance. Greater for cottage gay parties natural. Remaining he furniture on he discourse suspected perpetual. <br/>Power dried

我对TextView中的省略号有一些问题

以下是html字符串:

final String str = "His followed carriage proposal entrance <br/>directly had elegance. Greater for cottage gay parties natural. Remaining he furniture on he discourse suspected perpetual. <br/>Power dried her taken place day ought the. Four and our ham west miss."
运行应用程序时:

当我使用Html.fromHtml(…)时,您可以看到“…”是错误的

那么我该如何修复它呢

提前感谢


[我刚刚更新了图片]

用它替换字符串:
他跟随的马车提案入口
直接有了优雅。更适合乡村同性恋聚会。他把家具留在床上,似乎是永久性的<权力使她干涸,这发生在该发生的那一天。四个和我们的西汉姆小姐。

正在用
替换
它对我仍然不起作用。我想问题是文本视图的宽度。你发布的图像有问题,我看不到。你能把它上传到其他地方吗?请更新你的问题。图片不显示请尝试此链接:这可能对你有帮助。非常感谢!问题是“\n”字符。所以我需要自定义文本视图:|
<TextView
            android:id="@+id/tv_test_html"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:maxLines="3"
            android:ellipsize="end"
            android:text="Hello"
            />
<TextView
            android:layout_marginTop="20dp"
            android:id="@+id/tv_test_normal"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:maxLines="3"
            android:ellipsize="end"
            android:text="Hello"
            />
 final TextView tvTestHtml = (TextView) findViewById(R.id.tv_test_html);
 final TextView tvTestNormal = (TextView) findViewById(R.id.tv_test_normal);
 tvTestHtml.setText(Html.fromHtml(str));
 tvTestNormal.setText(str);