<- ReadMe.html  ||  <- ../Functionality.html

MainActivity UI Specification

Class name: MainActivity
Title: Options
Level: level one activity, top level activity initially displayed when the app starts

Widget labelWidget typeWidget name
open storebuttonbtnOpenStore
create new storebuttonbtnCreateNewStore
change store passwordbuttonbtnChangeStorePassword
clear existing storebuttonbtnClearExistingStore
import/export storebuttonbtnImportExportStore

The activity has a navigation bar at the bottom of the screen, with the following navigation bar items:

icon positionicon nameitem variable name
far leftaboutbtnAbout
far righthelpbtnHelp

MainActivity functionality

When the activity is displayed, the following is carried out:

When the about button (btnAbout) is tapped, the activity navigates to the AboutActivity

When the help button (btnHelp) is tapped, the activity navigates to the HelpActivity, requesting that the asset file MainActivityHelp.html be displayed.

When the btnOpenStore button is tapped, the activity navigates to the OpenStoreActivity.

When the btnCreateNewStore button is tapped, the activity navigates to the CreateNewStoreActivity.

When the btnChangeStorePassword button is tapped, the activity navigates to the ChangeStorePasswordActivity.

When the btnClearExistingStore button is tapped, the activity navigates to the ClearExistingStoreActivity.

When the btnImportExportStore button is tapped, the activity navigates to the ImportExportStoreActivity.