8

After taking a snapshot of the layout and inspecting it with Layout Inspector, how do I find what font is used for the selected TextView or AppCompatTextView? Text and Theme property groups have no mentions of fontFamily property. However, I see the TextView has a custom font on it.

I'm running Android Studio 3.2.1

Vadim Kotov
  • 7,103
  • 8
  • 44
  • 57
Ivan Nikitin
  • 2,771
  • 22
  • 31

1 Answers1

-1

The only thing i can see about font is the typeface (text -> getTypeFaceStyle(), "bold", "normal" ...)

If the font is defined in styles, you can see the textviews style (theme) in LayoutInspector at the bottom

thehrlein
  • 84
  • 2