forked from pakerfeldt/android-viewflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fulfil the onMeasure contract by allowing AT_MOST and UNSPECIFIED specs instead of failing at runtime. In addition, use the view's padding to make child views smaller, the way it should be. There is one problem, which is that the ViewFlowIndicator implementations assume that the scrolled region is the whole width of the container, whereas it might actually be smaller, so they show wrong positions if left/right padding is non-zero. This will probably require an interface change to fix.
- Loading branch information
Showing
1 changed file
with
114 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters