At First, TODOLIST fragment is added in the middle by Fragmentmanager and then after clicking on the add button below it is replaced.
There is no task at first and only gif is displaying as showing in the below images:
After clicking in the plus button, Frame layout is replaced using Fragment manager and we can see the only center view is changed and we are in the TODOADD fragment.
Task can be added in the following ways as shown in image below:
After added the task, Frame layout back stack from the and center view is replace and we are in the main TODOLIST fragment and gif image is removed.
There is Menu Items in the APPBAR that are:
- ABOUT,
- CONTACT
There is two items in the menu and After clicking in those two item, Dialog box is opened as shown in the image below:
In above image, versionName is the programmatically setted using BuildConfig class.
You can see that contact information is in the contact dialog box and there are two buttons "Call Button" and "Email Button".
"Call" and "Email" are the two imageButton, "CALL" button directly open the DIAL Screen and "EMAIL" button used IMPLICIT INTENT as shown in below:
IMPLICT INTENT in the form of emailing in the email as shown in below:
After adding task, todo list is full of task and if we want to delete some task, we can click in the radio button upper left side. After checking the radio button, a Dialog box is opened. There are two option in the dialog box "COMPLTED" and "CANCEL".
After clicking on "COMPLETED" button, dialog box is closed and task is deleted. After clicking on "CANCEL" button, dialog box is dismissed;