I\'m creating a custom view that consist of multiple framelayouts and a scrolllayout. The scrollview has a top padding and this padding is supposed to be equal the combined heig