We currently use a combination of Toasts and Croutons (inconsistently) to signal things like network errors, Zero status, saved page status, etc. Let's switch to using SnackBars, which are now part of the Design Support library.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Dbrant | T102271 Use more Material Design components in the app. | |||
Resolved | Dbrant | T102548 Replace Croutons and Toasts with SnackBar. |
Event Timeline
Comment Actions
For WP-Zero carrier message: While we can change background color with following code (text color is probably similar), I still think we should check if we could just leave the default colors of Snackbars.
Snackbar snackbar = Snackbar.make(view, "Here's a Snackbar", Snackbar.LENGTH_LONG); View snackBarView = snackbar.getView(); snackBarView.setBackgroundColor(colorId); snackbar.show();
Comment Actions
But I'm not sure which other interactions have been updated, could you provide some quick details?
Comment Actions
@Dbrant
For the saved page interaction:
Instead of "Page saving" and then "Page saved successfully" show only 1 message: "Page saved" with a check icon at the front. Make sure message is visible long enough to be read, maybe 1 second longer than current time.
Comment Actions
Checked with 2.0.108-alpha-2015-08-07 on Nexus5(Android 5.1) for
- Logged in successfully! /Logged out successfully
- The network connection could not be established
- Saving page.../Page saved successfully