最新回答 / 凌恩BazZ1
粘貼的時(shí)候,把屬性值去掉,指定參數(shù)名就可以了.<resources> ? ?<attr name="rightPadding" format="dimension"> ? ?</attr> ? ?<declare-styleable name="SlidingMenu"> ? ? ? ?<attr name="rightPadding"> ? ? ? ?</attr> ? ?</declare-styleable><...
2015-08-01
已采納回答 / Animee
因?yàn)樵趚ml屬性中為button設(shè)置了onclick方法,然后直接在activity中public void 方法名(view v)就不用寫button的監(jiān)聽(tīng)事件了
2015-07-27