Simplifying some launcher themes
> Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
This commit is contained in:
@@ -25,6 +25,7 @@ import android.util.Log;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.launcher3.compat.LauncherAppsCompat;
|
||||
import com.android.launcher3.util.Themes;
|
||||
|
||||
public class InfoDropTarget extends UninstallDropTarget {
|
||||
|
||||
@@ -42,7 +43,7 @@ public class InfoDropTarget extends UninstallDropTarget {
|
||||
protected void onFinishInflate() {
|
||||
super.onFinishInflate();
|
||||
// Get the hover color
|
||||
mHoverColor = Utilities.getColorAccent(getContext());
|
||||
mHoverColor = Themes.getColorAccent(getContext());
|
||||
|
||||
setDrawable(R.drawable.ic_info_launcher);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user