Closed naturalwarren closed 6 years ago
We can use the View.resolveSize() API to do the heavy-lifting of computing the desired width and height. These two implementations are equivalent.
View.resolveSize()
Verified MainActivity and PerfActivity rendered correctly in the sample app.
MainActivity
PerfActivity
We can use the
View.resolveSize()
API to do the heavy-lifting of computing the desired width and height. These two implementations are equivalent.Verified
MainActivity
andPerfActivity
rendered correctly in the sample app.