Add dark widgets theme

Bug: 62907264
Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
This commit is contained in:
Tony Wickham
2017-06-26 10:48:41 -07:00
parent 03a38a669c
commit 093c3ac7c3
6 changed files with 13 additions and 4 deletions

View File

@@ -23,7 +23,6 @@ import android.content.Context;
import android.graphics.Rect;
import android.support.v4.view.animation.FastOutSlowInInterpolator;
import android.util.AttributeSet;
import android.view.ContextThemeWrapper;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
@@ -77,7 +76,7 @@ public class WidgetsBottomSheet extends AbstractFloatingView implements Insettab
}
public WidgetsBottomSheet(Context context, AttributeSet attrs, int defStyleAttr) {
super(new ContextThemeWrapper(context, R.style.WidgetContainerTheme), attrs, defStyleAttr);
super(context, attrs, defStyleAttr);
setWillNotDraw(false);
mLauncher = Launcher.getLauncher(context);
mOpenCloseAnimator = LauncherAnimUtils.ofPropertyValuesHolder(this);