i doing simple feature adding ellipsis @ end of textview.
i add feature in onmeasure(), onlayout() , ongloballayoutlistener() call. wanna know what's difference implementing same functionality in these 3 different method. there preferences or pros , cons choosing these different implementation ways?
thank you
try follow this help
the layout process consists of 2 passes, measuring , layouting. bit simplified can measure pass sets how big view should be, dimensions of it, , layout pass sets place view, position of it. layout part interesting views children, in other words views inherits viewgroup.
Comments
Post a Comment