How to remove app title from toolbar?

前端 未结 7 1805
予麋鹿
予麋鹿 2020-12-29 05:28

I can\'t figure out how to remove my title. I\'ve used the code below in my MainActivity but after I added that line, my app crashes.

getSuppor         


        
相关标签:
7条回答
  • 2020-12-29 05:55

    Check your styles.xml

    Change your theme to .NoActionBar

    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    

    Hope it helps....

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