bajabob / FastPhrase

A voice recording application inspired by emergency crews
0 stars 0 forks source link

Finish EmptyStateView #78

Closed bajabob closed 8 years ago

bajabob commented 8 years ago

As a user of the FastPhrase application I require information on what to do when the application first opens and I have NO recordings. This is where the EmptyStateView comes into play. I would like some kind of message and animated arrow pointing to the recording button. This message should say something like, "Press here to create your first recording", or "Start by recording your first phrase". Additionally an animated (possibly hand drawn) arrow should appear and point to the button to press.

First step: Open the AppDataStoreManager class and comment out between AppData ad = new AppData(); (around line 65) and Gson gson = new Gson(); (~line 85). Removing this code will remove all elements from the list, revealing the EmptyStateView with some sample text.

Second Step: Complete the view and ensure that it works on an emulator with a small screen size (actually look at the dimensions and find a small emulator). This will ensure your view looks good on small devices and large ones as well.

Files you will most likely be coding in: EmptyStateView.java, view_empty_state.xml. If you would like to move this view around in the parent view, open activity_playback_list.xml.

bajabob commented 8 years ago

@justintan93 be sure to do this in a feature branch, feature/78-empty-state

justintan93 commented 8 years ago

Finished animation and fixed bug with FAB on pre-api 21 at the expense of lowering the elevation of the FAB from 20dp to 4dp and having to add a styles.xml for v21. The team should look at the FAB with the lowered elevation and overall animation to see if it's any good. Also decide on the textview stuff.

bajabob commented 8 years ago

This turned out fantastic @justintan93 . Just checked it out. Perfectly done man!