【问题标题】:Using default font styles in Android在 Android 中使用默认字体样式
【发布时间】:2010-08-04 11:46:09
【问题描述】:

如何在xml中使用Android默认字体大小?

我试过了:

android:textAppearance="@android:style/TextAppearance_Large"

但我明白了:

错误:错误:找不到资源 匹配给定的名称(在 'textAppearance' 有值 '@android:style/TextAppearance_Large')。

【问题讨论】:

    标签: android text coding-style android-layout


    【解决方案1】:

    不是吗

    android:textAppearance="?android:attr/textAppearanceLarge"
    

    对于 TextView?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-10-24
      • 2016-02-27
      • 1970-01-01
      • 2013-07-10
      • 2020-12-21
      • 2023-03-18
      • 1970-01-01
      相关资源
      最近更新 更多