ActionBarSherlock with custom RelativeLayout does not show title text

后端 未结 2 1655
无人共我
无人共我 2020-12-14 11:39

The ActionBar does not show title when using relative layout. And when I not use the RelativeLayout, the items are not aligned to right. Please don\'t tell me to use menu it

2条回答
  •  轮回少年
    2020-12-14 12:21

    There is a workaround by adding TextView with titleTextStyle to the layout. If any of you have a better answer i'm looking forward to see it.

    My workaround:

    
    
    
        
    
        
    
            
    
            
    
            
    
        
    
    
    

提交回复
热议问题