java - Android 中的段落和项目符号
问题描述
我正在开发一个连接到网络管理员的图书应用程序。
我在网络管理员中使用段落和项目符号添加了有关作者的信息,它显示得很好,但在应用程序上,段落和项目符号不显示,并且文本都在一起。
下面是活动
public String getAuthorDescription() {
return authorDescription;
}
public ArtistHeaderObject setAuthorDescription(String authorDescription) {
this.authorDescription = authorDescription;
return this;
}
下面是布局
<com.remmy.wisdomnuggets.TextviewUtil.UbuntuMediumTextview
android:id="@+id/txt_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:layout_marginEnd="10dp"
android:layout_marginTop="10dp"
android:text="Peter Deuvergny"
android:textDirection="locale"
android:textColor="?attr/colorTagline"
android:textSize="12sp" />
请找到随附的屏幕截图
解决方案
推荐阅读
- typescript - TS2536:不能用作索引,即使类型必须是键?
- c# - 为什么在这种情况下 C# 使用相同的内存地址?
- laravel - 域上带有 URI 的 Nginx 配置
- rust - 使用带有 trait 的泛型
- swift - 如何在触摸时获取 UIImage 中特定像素的位置(或坐标)
- shell - 使用 awk 提取字段直到字符串
- javascript - ReferenceError:文件夹未定义vue:6
- python - 删除pyspark列表中的单引号
- google-chrome - 当我的网站已经有 https 时,如何修复 Google Chrome 审核最佳实践显示“不使用 HTTP/2 处理其所有资源”
- apache-kafka - 如何从ksql中的ktable获取不同记录的总数