【问题标题】:Line break height换行高度
【发布时间】:2011-07-19 19:42:10
【问题描述】:

我有以下 TextView,我在 ListView 中使用它:

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/text1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center_vertical"
    android:paddingLeft="6dip"
    android:textSize="16px"
    android:minHeight="5px"/>

TextItem 包含换行符,而这个换行符...太大了:就像有一个空行。有没有办法改变换行符的高度?

问候, 程序验证

【问题讨论】:

    标签: android textview line-breaks


    【解决方案1】:

    没关系,实际上有两个换行符。我正在用换行符替换下载的 HTML 文件的
    ,但是......每个
    之后已经有一个换行符。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-03-01
      • 2017-03-16
      • 1970-01-01
      • 2012-12-09
      • 2021-12-04
      • 1970-01-01
      • 2013-06-07
      相关资源
      最近更新 更多