fix quick control rendering
Bug: 4108815
render pie slices again, use faded background
Change-Id: I05e5bf2f6809d5775b48f22a67b37e961aa5ab9f
diff --git a/src/com/android/browser/PieControl.java b/src/com/android/browser/PieControl.java
index ed3e960..38ed1bb 100644
--- a/src/com/android/browser/PieControl.java
+++ b/src/com/android/browser/PieControl.java
@@ -26,8 +26,6 @@
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
-import android.graphics.drawable.BitmapDrawable;
-import android.os.Handler;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
@@ -165,7 +163,6 @@
image.setScaleType(ScaleType.CENTER);
LayoutParams lp = new LayoutParams(mItemSize, mItemSize);
v.setLayoutParams(lp);
- v.setBackgroundResource(R.drawable.qc_item_selector);
return v;
}
@@ -175,9 +172,8 @@
view.setMinimumWidth(mItemSize);
view.setMinimumHeight(mItemSize);
view.setScaleType(ScaleType.CENTER);
- LayoutParams lp = new LayoutParams(mItemSize,mItemSize);
+ LayoutParams lp = new LayoutParams(mItemSize, mItemSize);
view.setLayoutParams(lp);
- view.setBackgroundResource(R.drawable.qc_item_selector);
return new PieItem(view, l);
}