why is there content_main.xml and activity_main.xml by default instead of just activity_main.xml?

后端 未结 5 2008
不思量自难忘°
不思量自难忘° 2021-01-14 00:52

I have just begun learning Android App development. I have Android Studio 1.4. In my layout folder I have two XML files (content_main.xml and activity_mai

5条回答
  •  长情又很酷
    2021-01-14 01:17

    use that one which is set in Activity class. i mean set to setContentView(). or please provide your code if you want more description.

提交回复
热议问题