summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/LeaveBehindData.java
Commit message (Collapse)AuthorAgeFilesLines
* fix shorter-than-expected leave-behind view heightsAndy Huang2013-04-111-1/+5
| | | | | | | | | | | | | | | | | Make leave-behind heights variable, dependent on the ConversationItemView that originated it. Make the background on a SwipeableCIV not a separate view, but a simple background. Also simplify the conditions under which it occurs-- it just appears whenever translateX is non-zero. This covers all swiping and animating cases handily, without the need for extra listeners. Remove an old workaround that gave ListView on 1-pane an opaque background- - it was there to mask FolderListFragments that stuck around, but those are relegated to the drawer now. This reduces list overdraw by one. Bug: 8570880 Change-Id: I2e2ea875d4ab58b5048d41025b8a2c48a3d63536
* fix restoring nested ParcelablesAndy Huang2012-11-121-10/+15
| | | | | | | | | | | | Any Parcelable that contains other parcelables should have a CREATOR that extends ClassLoaderCreator so it can pass along the classloader when reading the inner Parcelable. This is how Fragment.SavedState works. Hooray for not fabricating classloaders! Bug: 7517657 Change-Id: Iae9c3cfa291a956659eabb501b9c57fa3c2707c9
* Make CREATOR static for LeaveBehindItemDatamindyp2012-10-311-0/+63
Fixes b/7438519 gmail crashed on launch: expected receiver of type com.android.mail.ui.LeaveBehindItem$LeaveBehindData, but got null Change-Id: I2a2622c2b96966f3a21d0f2a731e87a22caaebbc