-
Notifications
You must be signed in to change notification settings - Fork 696
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
the master version can`t support API below Level 11 #95
Comments
Yes, thanks. it works for me. default version from master is android 2.2 which make compile failed with hint getMeasuredState. |
Thanks , see this anwser . issue is solved. |
Excuse me, what was the solution? |
oh,sorry,just saw. In your project, bonne chance! ÔÚ 2013-11-11 19:40:05£¬Yolapop notifications@github.com дµÀ£º Excuse me, what was the solution? ¡ª |
What was the solution? I don't see anything between "in your project" and "bonne chance". |
That is a image between "in your project" and "bonne chance". please check your project .perhaps your name of project.properties file is below API 11. What was the solution? I don't see anything between "in your project" and "bonne chance". ¡ª |
Does it mean that the min sdk level is 11 now? |
1 similar comment
Does it mean that the min sdk level is 11 now? |
branch:recyclebin is OK with API Level 8. |
in ViewFlow.java function onMeasure() replace with |
Thanks a ton @PhilippEmmermacher |
The function getMeasuredState() was introduced in API 11. But if you look at its documentation (http://developer.android.com/reference/android/view/View.html#getMeasuredState%28%29) you will easily notice what the function does: "Return only the state bits of getMeasuredWidthAndState() and getMeasuredHeightAndState(), combined into one integer. The width component is in the regular bits MEASURED_STATE_MASK and the height component is at the shifted bits MEASURED_HEIGHT_STATE_SHIFT>>MEASURED_STATE_MASK. " |
thanks a lot @PhilippEmmermacher that worked perfectly. |
getMeasuredState() and MEASURED_STATE_TOO_SMALL are used in ViewFlow.java ,
they are only support API level 11 and above.
The text was updated successfully, but these errors were encountered: