Styling indeterminate progressbar on ActionBar

后端 未结 7 1507
栀梦
栀梦 2020-12-13 02:52

I would like to put a progressBar on the action bar but setting

requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);  
setProgressBarIndeterminateVi         


        
7条回答
  •  自闭症患者
    2020-12-13 03:13

    For ActionBarSherlock you can change the indeterminate progress by parenting the Widget.ProgressBar.Small, this should work without Sherlock as well.

    I fetched the drawables from the android-15 res folder in the SDK, be sure to grab progress_small_white.xml and associated resource.

     
     
         
    
         
    
           
     
    

提交回复
热议问题