首页 > 解决方案 > 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" />

请找到随附的屏幕截图

标签: javaandroidparagraphbulletedlist

解决方案


推荐阅读