Calculation of size for a custom view?

There are actually custom view, if his layout-e to specify the exact dimensions or fill_parent for both properties (layout_width and layout_height), everything is OK, but if you specify wrap content — view flattened to 0. Actually, as I understand it, you just have to rewrite a couple of methods to calculate the width-height of the kick in the right direction.
October 8th 19 at 03:08
0 answer

Find more questions by tags Android