Support Toolbar's custom view not using full width

前端 未结 1 893
轮回少年
轮回少年 2021-01-05 03:32

I\'m using support v7\'s toolbar. I added a custom view, but the custom view doesn\'t seem to obey \"match_parent\". It would only stretch as far as the first icon it sees.

1条回答
  •  甜味超标
    2021-01-05 04:11

    I have succeed with the approach in Simon's link:

    
    
        
    
        
    
        
    
    
    

    0 讨论(0)
提交回复
热议问题