What is the difference between view and activity in android development?

后端 未结 7 754
南旧
南旧 2021-02-04 01:37

When do I need to create a new activity and when do I need to change the view?

My app needs to do:

Screen #1

two big buttons(sort of menu)

Scr

7条回答
  •  既然无缘
    2021-02-04 02:19

    activity is like canvas where you put your drawing as view.Yes you can set all above four view in single activity but it will depend how you handle it and does your app needs it to be done like this.

提交回复
热议问题