willowtreeapps/Hyperion-Android

Handle Typeface for Attribute Inspector

オープン

#53 opened on 2018/04/03

 (0 件のコメント) (2 件のリアクション) (0 人の担当者)Java (138 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (1,877 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド