Crop square image to circle - Programmatically

前端 未结 7 1439
余生分开走
余生分开走 2020-12-01 01:14

i was searching for past one day and i was not successful .

i get the image from API , and i download it to a bitmap file using the following code .

         


        
7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 01:39

    This can be simply done in xml, Please see my answer here: https://stackoverflow.com/a/18287979/665930

    
    
                
                
    
                
                
    
    
     
    
    
    
    
        
         
    

提交回复
热议问题