Join Slack
Powered by
you need to wait when view is layouted and know it...
# anko
d
david.bilik
05/17/2017, 6:27 AM
you need to wait when view is layouted and know its size. You can do that with ViewTreeObserver and preDraw callback. Or you can use custom view and override onMeasure method or use coordinatorLayout/percent*Layout
👍 1
2
Views
Open in Slack
Previous
Next