Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two ColorfulRingProgressView on Each Other Problem background #8

Open
emadph opened this issue Sep 21, 2019 · 0 comments
Open

two ColorfulRingProgressView on Each Other Problem background #8

emadph opened this issue Sep 21, 2019 · 0 comments

Comments

@emadph
Copy link

emadph commented Sep 21, 2019

hi
i have two ColorfulRingProgressView on each other
because i have 2 data Percent
and its tricky to show these this way
my problem is :

<com.timqi.sectorprogressview.ColorfulRingProgressView
android:id="@+id/chart_earn"
android:layout_width="110dp"
android:layout_height="110dp"
android:layout_marginBottom="8dp"
app:bgColor="#dbdbdb"
app:fgColorEnd="#8a8792"
app:fgColorStart="#8a8792"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline5"
app:percent="50"
app:startAngle="0"
app:strokeWidth="16dp" />

<com.timqi.sectorprogressview.ColorfulRingProgressView
android:id="@+id/chart_today"
android:layout_width="110dp"
android:layout_height="110dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:padding="6dp"
app:bgColor="#23E1E1E1"
app:fgColorEnd="#dd6504"
app:fgColorStart="#fca700"
app:layout_constraintBottom_toBottomOf="@+id/chart_earn"
app:layout_constraintEnd_toEndOf="@+id/chart_earn"
app:layout_constraintStart_toStartOf="@+id/chart_earn"
app:layout_constraintTop_toTopOf="@+id/chart_earn"
app:percent="40"
app:startAngle="0"
app:strokeWidth="10dp" />

in this code one Ring background is transparent another have color , its ok in XML View
but after Run App ... shows Nothing...
what can i do !?
any tricky way ?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant