https://kotlinlang.org logo
Title
u

user

07/14/2022, 6:31 AM
Android - Detecting when a view's constraints have been fully resolved/loaded I have quite a complex problem to do with Android views, I am creating a paint application, and I have two views: a transparent background view and the pixel art board. For both views, I want the height and width to be calculated off of the distance between view A and B:

https://i.stack.imgur.com/stkM9.png

Instead of calculating the distance between these two views, I simply 'constraint' a view in the middle like so, and then extract its height by...