Android Studio Navigation Draw Activity

后端 未结 2 1867
不知归路
不知归路 2021-01-26 06:43

I am creating an App with a Navigation Draw Activity. In android studio, after I start a new android activity project, I select Navigation draw activity. My question is, how t

2条回答
  •  借酒劲吻你
    2021-01-26 06:57

    Go to res -> layout -> activity_main.xml and add the following:

        // background color
    

    The top part it is defined in res -> layout -> nav_header_main.xml and the same color definitions apply to it too. Look for :

    
    

    and change it to any color you want.

提交回复
热议问题