change app icon

This commit is contained in:
hyb1996
2017-02-05 22:55:05 +08:00
parent 13142d14a7
commit 6c800e2e76
22 changed files with 15 additions and 24 deletions

View File

@@ -134,7 +134,7 @@ public abstract class ScriptFileOperation {
ScriptFile scriptFile = scriptFileList.get(position);
new Shortcut(context).name(scriptFile.name)
.targetClass(ShortcutActivity.class)
.icon(R.drawable.script_droid)
.icon(R.drawable.ic_robot_green)
.extras(new Intent().putExtra("path", scriptFile.path))
.send();
Snackbar.make(recyclerView, R.string.text_already_create, Snackbar.LENGTH_SHORT).show();