How to hide the title bar for an Activity in XML with existing custom theme

前端 未结 30 2037
误落风尘
误落风尘 2020-11-22 03:28

I want to hide the titlebar for some of my activities. The problem is that I applied a style to all my activities, therefore I can\'t simply set the theme to @android:

30条回答
  •  耶瑟儿~
    2020-11-22 03:45

    In my case, if you are using android studio 2.1, and your compile SDK version is 6.0, then just go to your manifest.xml file, and change the following code:

    Here is the code:

    
    
    
        
            
                
                    
    
                    
                
            
        
    
    
    

    And here is the snip shoot(see the highlight code):

提交回复
热议问题