dpi value of default “large”, “medium” and “small” text views android

后端 未结 3 1121
野的像风
野的像风 2020-12-22 15:18

Does the documentation ( or anyone) talks about the dpi values of the default

  • Large TextView {android:textAppearance=\"?android:attr/textAppearanceLarge
3条回答
  •  既然无缘
    2020-12-22 15:31

    See in the android sdk directory.

    In \platforms\android-X\data\res\values\themes.xml:

        @android:style/TextAppearance.Large
        @android:style/TextAppearance.Medium
        @android:style/TextAppearance.Small
    

    In \platforms\android-X\data\res\values\styles.xml:

    
    
    
    
    
    

    TextAppearance.Large means style is inheriting from TextAppearance style, you have to trace it also if you want to see full definition of a style.

    Link: http://developer.android.com/design/style/typography.html

提交回复
热议问题