commit | 764f7c2085177546de3187fee1445637d4d7298c | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Fri May 17 15:13:32 2013 -0700 |
committer | Andy Huang <ath@google.com> | Fri May 17 17:56:07 2013 -0700 |
tree | d8151517e09aed1ed543a8adfc5e74591eda1590 | |
parent | 27e786946874ddc2a2b1355cfc29b896ba0c9416 [diff] |
lazier and smaller conversation list progress bars Avoid inflating refresh ProgressBars until they are actually needed. ProgressBar inflation was instantiating all the drawable bitmaps, which were 87KB on xhdpi * 9 assets (yikes). This was contributing to excessive GCs, which slowed down list instantiation when coming back from conversation view. Also shrink the assets by removing the transparent bottom padding. Bug: 8910559 Change-Id: If7bf3bb7df87646571b8e3aa371807b9b68d4656