10

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
  • 8,084
  • 8
  • 48
  • 62
Ivan Nikitin
  • 3,578
  • 27
  • 39

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
  • 133
  • 1
  • 4