2017-03-13 6 views
2

CircleProgress를 얻으려면이 라이브러리를 github에서 사용하고 있습니다. 모두 괜찮 았어,하지만 그 비율에 대한 사용자 정의 글꼴을 사용하고 싶습니다. ArchProgressCircleProgress Bar Android 용 사용자 정의 글꼴

<declare-styleable name="ArcProgress"> 
    <attr name="arc_progress" format="integer"/> 
    <attr name="arc_angle" format="float"/> 
    <attr name="arc_stroke_width" format="dimension"/> 
    <attr name="arc_max" format="integer"/> 
    <attr name="arc_unfinished_color" format="color"/> 
    <attr name="arc_finished_color" format="color"/> 
    <attr name="arc_text_size" format="dimension"/> 
    <attr name="arc_text_color" format="color"/> 
    <attr name="arc_suffix_text" format="string"/> 
    <attr name="arc_suffix_text_size" format="dimension"/> 
    <attr name="arc_suffix_text_padding" format="dimension"/> 
    <attr name="arc_bottom_text" format="string"/> 
    <attr name="arc_bottom_text_size" format="dimension"/> 
</declare-styleable> 

https://github.com/lzyzsd/CircleProgress

모든 일이 어떻게 진행 막대 (ArcProgress)에서 텍스트에 사용자 지정 글꼴을 추가 할 알고에 대한

바인드합니다?

답변

1

설명 코드를 다운로드하고 코드를 편집해야합니다. here

+0

감사합니다. 작동)) – cristian