Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Fix view bounds #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix view bounds #33

wants to merge 1 commit into from

Conversation

mrmaffen
Copy link

There is a a problem with how the view sets its dimensions in onMeasure. It's actually a simple one-liner that fixes that for me.
Here are the before and after screenshots of the view's behaviour:
before:
circularprogressbar_boundsfixpr_before
after:
circularprogressbar_boundsfixpr_after

the modified sample layout file (activity_home.xml) I've used:
http://paste.kde.org/pfhl88x6e

@passsy
Copy link
Owner

passsy commented Oct 18, 2014

I'll look into it. Your solution works but it breaks the functionality in a ScrollView. But I'm sure to fix this soon.

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

Successfully merging this pull request may close these issues.

2 participants