Bug 719900 - Remove blank favicon images from awesomebar lists. r=mfinkle

This commit is contained in:
Brian Nicholson 2012-02-01 21:17:23 -08:00
parent 4c0bec7036
commit 4b08638408
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ public class AwesomeBarTabs extends TabHost {
ImageView favicon = (ImageView) childView.findViewById(R.id.favicon);
if (b == null) {
favicon.setImageResource(R.drawable.favicon);
favicon.setImageResource(android.R.id.empty);
} else {
Bitmap bitmap = BitmapFactory.decodeByteArray(b, 0, b.length);
favicon.setImageBitmap(bitmap);
@ -150,7 +150,7 @@ public class AwesomeBarTabs extends TabHost {
ImageView favicon = (ImageView) view;
if (b == null) {
favicon.setImageResource(R.drawable.favicon);
favicon.setImageResource(android.R.id.empty);
} else {
Bitmap bitmap = BitmapFactory.decodeByteArray(b, 0, b.length);
favicon.setImageBitmap(bitmap);

View File

@ -11,7 +11,7 @@
android:layout_centerVertical="true"
android:minWidth="32dip"
android:minHeight="32dip"
android:src="@drawable/favicon"
android:src="@android:id/empty"
android:scaleType="fitCenter"/>
<TextView android:id="@+id/title"