![]() Create String resources for the above named titles.Add two menu items to this menu, the first with the id of "menu_edit" and the title of "Edit" and the second with the id of "menu_delete" and the text of "Delete".This will act as a context menu for list of deadlines displayed in a ListView in the main activity Add another menu resource (in the same folder) called menu_deadlines_context.Within the newly added file add a single menu item with the title "Edit Modules" and the id "menu_edit_modules".Add a new menu resource file within that new folder called menu_settings.This will be the menu on the toolbar which allows the user to modify existing modules Next add a new resource directory called 'menu' to the res folder.Setup view binding for this activity also.Switch to the corresponding Kotlin file and add methods for both buttons' onClick values (each taking a parameter of type View), with no implementation.The final button should have an id of "btnAdd" and an onClick value of "addAssignment". ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |