【问题标题】:Multiple Alignment in TextViewTextView 中的多重对齐
【发布时间】:2018-12-26 01:22:49
【问题描述】:

如何在 textview 中进行多重对齐? 像这样: enter image description here

我们将不胜感激任何帮助。谢谢。

【问题讨论】:

    标签: android textview alignment


    【解决方案1】:

    你可以试试:

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
                return Html.fromHtml("add your html formated text here", Html.FROM_HTML_MODE_LEGACY);
            } else {
                return Html.fromHtml("add your html formated text here");
            }
    

    【讨论】:

      猜你喜欢
      • 2011-10-02
      • 1970-01-01
      • 1970-01-01
      • 2014-12-18
      • 1970-01-01
      • 1970-01-01
      • 2018-05-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多