willowtreeapps/Hyperion-Android

Handle Typeface for Attribute Inspector

開放

#53 建立於 2018年4月3日

 (0 則留言) (2 個反應) (0 位負責人)Java (138 個分叉)batch import
help wanted

倉庫指標

星標
 (1,877 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南