mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Redo the launcher loading code and put the real app icons into rollo.
This commit is contained in:
@@ -63,7 +63,6 @@ public class BubbleTextView extends TextView {
|
||||
setFocusable(true);
|
||||
mBackground = getBackground();
|
||||
setBackgroundDrawable(null);
|
||||
mBackground.setCallback(this);
|
||||
|
||||
mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
mPaint.setColor(getContext().getResources().getColor(R.color.bubble_dark_background));
|
||||
@@ -131,4 +130,16 @@ public class BubbleTextView extends TextView {
|
||||
|
||||
super.draw(canvas);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
mBackground.setCallback(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDetachedFromWindow() {
|
||||
super.onDetachedFromWindow();
|
||||
mBackground.setCallback(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user