最新回答 / Kevin_Cai
? /**? ? ? ? ?* Extracts the size from the supplied measure specification.? ? ? ? ?*? ? ? ? ?* @param measureSpec the measure specification to extract the size from? ? ? ? ?* @return the size in pixels defined in the supplied measure specification? ? ? ? ...
2015-03-08
最新回答 / qi12371
這個(gè)他其實(shí)已經(jīng)說(shuō)過(guò)了,就是動(dòng)態(tài)生成標(biāo)簽的實(shí)現(xiàn)方式,你在鍵盤后再直接生成一個(gè)加進(jìn)去就好了。
2015-02-11
講師回答 / hyman
你好,自定義ViewGroup必須重寫onLayout方法。然后,你說(shuō)的那個(gè)尺寸,這個(gè)和onLayout沒關(guān)系,onMeasure里面計(jì)算的。
2015-01-15