別再糾結(jié)eclipse 還是as 老師在教你怎么寫代碼不是教你用開(kāi)發(fā)工具 代碼都是一樣的 沒(méi)啥區(qū) 難道在eclipse寫的代碼和在as的不一樣么 就別再糾結(jié)了
2016-05-21
剛剛解決,源碼中return mIndeterminate ? 0 : mProgress;看到mIndeterminate后繼續(xù)找,注釋中 In indeterminate mode, the progress is ignored and the progress bar shows an infinite animation instead.我想估計(jì)是默認(rèn)為小圓圈樣式,導(dǎo)致他的mIndeterminate =true,所以給他給樣式style="?android:attr/progressBarStyleHorizontal"后就解決了。
2016-05-21
為什么我 getProgress()獲取的值為0,我已經(jīng)在xml布局文件中和activity的onCreate()方法中都設(shè)置progress為50了。。。
2016-05-21