Add app shortcut icons

This commit is contained in:
Xorok 2017-03-09 23:23:27 +01:00 committed by Karim Abou Zeid
commit 079f163cc4
21 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ public final class LastAddedShortcutType extends BaseShortcutType {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added") return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
.setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short)) .setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short))
.setLongLabel(mContext.getString(R.string.appshortcut_lastadded_long)) .setLongLabel(mContext.getString(R.string.appshortcut_lastadded_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_library_add_white_24dp)) .setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_last_added))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED)) .setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED))
.build(); .build();
} }

View file

@ -22,7 +22,7 @@ public final class ShuffleAllShortcutType extends BaseShortcutType {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all") return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
.setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short)) .setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short))
.setLongLabel(mContext.getString(R.string.appshortcut_shuffleall_long)) .setLongLabel(mContext.getString(R.string.appshortcut_shuffleall_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_shuffle_white_24dp)) .setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_shuffle_all))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL)) .setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL))
.build(); .build();
} }

View file

@ -23,7 +23,7 @@ public final class TopTracksShortcutType extends BaseShortcutType {
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks") return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
.setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short)) .setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short))
.setLongLabel(mContext.getString(R.string.appshortcut_toptracks_long)) .setLongLabel(mContext.getString(R.string.appshortcut_toptracks_long))
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_trending_up_white_24dp)) .setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_top_tracks))
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS)) .setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS))
.build(); .build();
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB