uknownothingsnow / CircleProgress

CircleProgress, DonutProgress, ArcProgress
3.81k stars 921 forks source link

Bottom text cut in listview using ArcProgress #19

Open ilandbt opened 9 years ago

ilandbt commented 9 years ago

Hi, I'm getting a cut text in my list view using ArcProgress.

Thanks, Ilan

ilandbt commented 9 years ago

If i add any random padding to the arcProgress it works great.

DOSEN'T WORK:

    <com.github.lzyzsd.circleprogress.ArcProgress
        android:id="@+id/medsWeek"
        android:layout_width="100dp"
        android:layout_height="100dp"
        costum:arc_progress="8"
        costum:arc_bottom_text="WEEK"
        android:layout_marginLeft="10dp"
        costum:arc_text_color="#34d"
        costum:arc_finished_color="#34d"/>

WORKS:

    <com.github.lzyzsd.circleprogress.ArcProgress
        android:id="@+id/medsWeek"
        android:layout_width="100dp"
        android:layout_height="100dp"
        costum:arc_progress="8"
        costum:arc_bottom_text="WEEK"
        android:layout_marginLeft="10dp"
        android:padding="1dp"
        costum:arc_text_color="#34d"
        costum:arc_finished_color="#34d"/>
SNkumar commented 9 years ago

Hello, I'm also facing the same issue. Bottom text is getting cut by half. I have posted screenshot @ http://i.stack.imgur.com/f1PBq.png. Tried applying padding but it didnt work for me. Let me know if anyone knows how to fix the issue. Thanks.

zchking commented 9 years ago

Same issue as this.

bedzinsa commented 9 years ago

Same problem here, setting any padding or margin does not help in any way

suomi35 commented 8 years ago

In my case, I noticed the text getting cutoff if I built the view in a layout that was initially set to View.GONE. I changed it to initially come up as View.INVISIBLE and it no longer gets cutoff.

ghost commented 7 years ago

someone have solved?