Question
write a To-do list app, in Java, Android Studio. The goal of this app is to be able to add things that you need to
write a To-do list app, in Java, Android Studio. The goal of this app is to be able to add things that you need to do to a list on the screen. The requirements for the layout are:
There should be a general title: To Do List
For each task, there should be a task title and a short task description.
There should be two lines of EditText boxes to input the task title and the task description. A hint should be displayed what each form field means. The title and the subtitle description should be separate TextView objects. You cannot use one TextView object.
There should be an Add button that shows the task title and task description as task 1, task 2, etc.
The alignment of the all the titles and descriptions should be centralized.
The list should occupy the full range under the form fields all the way to the Add button.
The Add button should NOT be touching the borders of the screen or the list in any way. It must be oriented in the bottom right.
Add a function on each task item in the listView: When the user holds an item for a long time, that item is deleted from the list. Note: short click should do nothing.
Add a function to the Add button. By pressing the button, save the current contents of the listView to a text file on the phone.
When the user TERMINATES AND REOPENS, NOT CLOSES the app, the existing list should be loaded and shown in the listView.
Add a checkbox to each individual list element. There should be a checkbox located at the right end of every list item. When user checks it, the corresponding task item will be deleted directly.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started