HW4 - Ghebrehiwet/AndroidAboutG GitHub Wiki
This week your learned about Android conventions for application navigation, menus, and dialogs. The first is essential for a well designed application, and the others are useful in the right context for presenting users with choices.
Now it's time to map out the overall structure of your application and enable access to each screen.
First, create an About screen with brief information about your app, Add Toolbar (or ActionBar) navigation to your application, with menu options for your RecyclerView screen from last week, your new About screen, and any other top-level screen in your application. Enable navigation from the home page to the screens listed in your app bar menu Enable the app bar in each activity and 'up' navigation in each child page
Next, create a dialog that's triggered when the user clicks on a home screen element, such as the 'floating action button' provided in default Android Studio template. If you don't have a FAB button, you can add one to your main layout with this XML, or trigger the dialog with a different element.
<android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" app:srcCompat="@android:drawable/ic_dialog_email" />
The dialog should display a label, some content, and two button choices. When the user makes a choice, log this choice to the Android debug monitor.
For extra credit implement one or more of these;
show the options menu on child activities, but with the option for the current page hidden, add a 'Search' option in your Toolbar, use an array of choices in your dialog and log which option was selected,