Skip to content

Fix getMode (and some minor improvements)#2

Open
afischl wants to merge 4 commits intoyDelouis:masterfrom
afischl:master
Open

Fix getMode (and some minor improvements)#2
afischl wants to merge 4 commits intoyDelouis:masterfrom
afischl:master

Conversation

@afischl
Copy link

@afischl afischl commented Apr 30, 2015

I stumbled upon your repo when I read this stackoverflow article.

Concerning the main (second) commit:
I noticed that setting the layout_width and layout_height didn't always give me the layout I expected. The comments in the getMode() method explain exactly why I switched from your initial MeasureSpec to reading the LayoutParams.

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

Successfully merging this pull request may close these issues.

1 participant