»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

[¾Èµå·ÎÀ̵å] Ä¿½ºÅÒºä Ãʱ⠻ý¼º½Ã onDraw°¡ ¹Ýº¹ È£ÃâµË´Ï´Ù.1

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

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 [* ºñȸ¿ø *]
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û