Adding message when there are no icons in a particular tab.

Change-Id: Icbf122d10d07fcacb8a4429431ea389826a3d173
This commit is contained in:
Winson Chung
2010-10-14 13:37:13 -07:00
parent 564976a46e
commit 9678557e66
5 changed files with 86 additions and 36 deletions

View File

@@ -137,7 +137,7 @@ public class PagedViewIcon extends TextView implements Checkable {
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
super.onLayout(changed, left, top, right, bottom);
if (mHolographicOutline == null) {
if (mIconCache != null && mHolographicOutline == null) {
// update the clipping rect to be used in the holographic pass below
getDrawingRect(mDrawableClipRect);
mDrawableClipRect.bottom = getPaddingTop() + getCompoundPaddingTop();