Add app shortcut icons
This commit is contained in:
parent
43a2f319fc
commit
079f163cc4
21 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ public final class LastAddedShortcutType extends BaseShortcutType {
|
|||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short))
|
||||
.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))
|
||||
.build();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public final class ShuffleAllShortcutType extends BaseShortcutType {
|
|||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short))
|
||||
.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))
|
||||
.build();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public final class TopTracksShortcutType extends BaseShortcutType {
|
|||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short))
|
||||
.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))
|
||||
.build();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue