Cardview Width Percent

Is this blocks is correct?
IMG_20200609_141636
Result is


I think its not 50% of parent cardview. 40% i think. What is the problem now?

1 Like

Yes.

First try using different values until it shows 50%

Tried by changing value to 60. Then result is

Not getting accurate progress. Why?

I think this is very close.

Try 55.

Some fluctuations will be occurs.

Tried by using 100

Can i incrememt 5 to input value? Then it will apply to all?

Then use in your kode the real percentage + these 5 %, then it should be accurate. But the better idea is to just have a look to your kode again.

Yoshi

Thats why it is not getting accurate results.

I think this is due to card view.(stroke width)

1 Like

But if the value is 100 it will be more than 100.?

I don’t know, but it looks like so. But like I said, have a look to your kode again, the error should be there.

How much its value to be want?.its zero now.

Problem is with using card view, because card view shows shadow like effect.

Try using arrangements and set it round card view

I know. But its no looks as better

Its almost fixed. I changed margin value from -12 to -8. Not it shows correct progress. But has some issues in start. Thanks @The_K_Studio & @Yoshi

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.