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

Change-Id: Icbf122d10d07fcacb8a4429431ea389826a3d173
This commit is contained in:
Winson Chung committed 2010-10-14 14:21:20 -07:00
1 parent 564976a46e
commit 9678557e66
5 files changed
+86 -36

No files matched your search

+1 -1
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();