xml»ó¿¡¼ LinearLayoutÀ» Àâ¾Æ³õ°í
±× ¾È¿¡ addview·Î Á¦°¡ ¸¸µç Ä¿½ºÅҺ並 ºÙ¿´½À´Ï´Ù.
±×·±µ¥ onMeasure¿Í onDraw°¡ Áߺ¹ È£ÃâµË´Ï´Ù.
onDraw°¡ ÇÑ ¹ø¸¸ È£ÃâµÇ¾î¾ß ÇÏ´Â°Í ¾Æ´Ñ°¡¿ä?
onDraw¸¦ ÇÑ ¹ø¸¸ È£ÃâÇÏ·Á¸é ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä?
·Î±× ÷ºÎÇÕ´Ï´Ù. °í°ß ºÎŹµå¸³´Ï´Ù.
01-31 10:02:46.711 2073-2073/.circle I/-----: view context
01-31 10:02:46.711 2073-2073/.circle I/-----: oncreateview
01-31 10:02:46.711 2073-2073/.circle I/-------: onMeasure(720,1084)
01-31 10:02:46.711 2073-2073/.circle I/-------: onMeasure(720,723)
01-31 10:02:46.735 2073-2073/.circle I/-------: onMeasure(720,1084)
01-31 10:02:46.735 2073-2073/.circle I/-------: onMeasure(720,723)
01-31 10:02:46.735 2073-2073/.circle I/-------: onLayout
01-31 10:02:46.739 2073-2073/.circle I/-------: onDraw
01-31 10:02:46.759 2073-2073/.circle I/-------: onMeasure(720,1084)
01-31 10:02:46.759 2073-2073/.circle I/-------: onMeasure(720,723)
01-31 10:02:46.759 2073-2073/.circle I/-------: onLayout
01-31 10:02:46.763 2073-2073/.circle I/-------: onDraw
01-31 10:02:46.779 2073-2073/.circle I/-------: onMeasure(720,1084)
01-31 10:02:46.779 2073-2073/.circle I/-------: onMeasure(720,723)
01-31 10:02:46.787 2073-2073/.circle I/-------: onMeasure(720,1034)
01-31 10:02:46.787 2073-2073/.circle I/-------: onMeasure(720,690)
01-31 10:02:46.787 2073-2073/.circle I/-------: onLayout
01-31 10:02:47.095 2073-2073/.circle I/-------: onDraw |
- onDraw°¡ Çѹø¸¸ È£ÃâµÇ¸é ȸéÀº º¯ÇÏÁö ¾Ê°ÚÁö¿ä ¤»¤»
- onMeasure È£ÃâµÇ´Â°É º¸´Ï, width, height, x,y of axis µîÀ» º¯È¯ÇÏ´Â/º¯È¯µÇ´Â Ä¿½ºÅÒ ºä¸¦ Â¥½Ã´Â °Å °°Àºµ¥,,y°ªÀÌ wrap?
- onDraw´Â View »óÅ°¡ º¯ÇÏ¸é °è¼Ó È£ÃâµÉ°Å¿¡¿ä. View ¼Ò½º º¸¼¼¿ë.