Android 三種狀態的Checkbox

CheckBox本來只有兩種狀態,選中和不選中,使用系統默認的state_checked就能夠知足。可是多了一種狀態,就得自定義state了java 1. 在attrs.xml文件中添加state <declare-styleable name="GpState"> <attr name="gp_state_middle" format="boolean" /> </declare-sty
相關文章
相關標籤/搜索