diff options
author | James Lemieux <jplemieux@google.com> | 2014-07-29 16:12:17 -0700 |
---|---|---|
committer | James Lemieux <jplemieux@google.com> | 2014-07-30 11:27:54 -0700 |
commit | 29bc32547fcfb914f8f666f90343067f5d9b8e4d (patch) | |
tree | bcdce506e9f70b5fe3bfaaebfc8830d5bda8dbe4 /src/com/android/mail/ui/OnePaneController.java | |
parent | 121084b946d54fa429b9e139b826d0e20cdb7015 (diff) | |
download | android_packages_apps_UnifiedEmail-29bc32547fcfb914f8f666f90343067f5d9b8e4d.tar.gz android_packages_apps_UnifiedEmail-29bc32547fcfb914f8f666f90343067f5d9b8e4d.tar.bz2 android_packages_apps_UnifiedEmail-29bc32547fcfb914f8f666f90343067f5d9b8e4d.zip |
Quantify Snackbars (aka Undo bars)
b/15991901
This CL addresses the major layout and styling changes introduced
by the Material theming. Note that layout is influenced by all of
the following factors:
1) RTL or LTR
2) Action text may exist or not
3) Description text may wrap or not
4) One-pane vs. Two-pane
Change-Id: Ie69bca2cef39666a90c9a43d6b4b030c64e664c8
Diffstat (limited to 'src/com/android/mail/ui/OnePaneController.java')
-rw-r--r-- | src/com/android/mail/ui/OnePaneController.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/mail/ui/OnePaneController.java b/src/com/android/mail/ui/OnePaneController.java index 758c352d1..4a9a91611 100644 --- a/src/com/android/mail/ui/OnePaneController.java +++ b/src/com/android/mail/ui/OnePaneController.java @@ -426,10 +426,8 @@ public final class OnePaneController extends AbstractActivityController { case ViewMode.CONVERSATION: mToastBar.show(getUndoClickedListener( convList != null ? convList.getAnimatedAdapter() : null), - 0, Utils.convertHtmlToPlainText (op.getDescription(mActivity.getActivityContext())), - true, /* showActionIcon */ R.string.undo, true, /* replaceVisibleToast */ op); @@ -439,10 +437,8 @@ public final class OnePaneController extends AbstractActivityController { if (convList != null) { mToastBar.show( getUndoClickedListener(convList.getAnimatedAdapter()), - 0, Utils.convertHtmlToPlainText (op.getDescription(mActivity.getActivityContext())), - true, /* showActionIcon */ R.string.undo, true, /* replaceVisibleToast */ op); |