Question

I've been tasked to implement an appointments app. The main screen is to display the days of the current month and which year it is and the user can perform various tasks by selecting a day and pressing one of 6 buttons.

I'm a little lost as for where to start on this. Should I create a view in XML or would it be better to do it in the code? I've read up on the calendar class but have had no luck actually getting an example working.

Any suggestions/examples on how to get started on this would be appreciated.

Thank you.

Was it helpful?

Solution

you'll write code to work with the layouts you create in XML

OTHER TIPS

I know there is already an accepted answer, but this might be helpful.

Creating your views in xml also helps you seperate your functionality from your ui. Similar to the Model View Controller concept. This is considered good practice.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top