Hyperion-Android icon indicating copy to clipboard operation
Hyperion-Android copied to clipboard

Handle Typeface for Attribute Inspector

Open Kritarie opened this issue 7 years ago • 0 comments

The Attribute Inspector does not handle displaying the Typeface of a TextView very well. Ideally, the property would be displayed as Typeface Roboto-Bold with the right-aligned value text styled with the Typeface. This is made a bit complex because the Typeface class doesn't contain methods for querying the name. A possible implementation could read from assets until it finds a font file whose Typeface == the TextView's Typeface, and we can use the name of the file as the value.

Kritarie avatar Apr 03 '18 15:04 Kritarie