Can I use custom icons for my shortcuts?

Administrator
2013-06-02 11:36

Starting in v1.3.0 of the Shortcut Add-On, you can use custom images for the shortcuts created with the Shortcut Add-On by placing specially named images into a specific folder on your SD card. These images only affect shortcuts created after the images are placed here and will not affect previously created shortcuts.

Shortcut image location:
SD Card/DirecTV_Remote/ShortcutIcons

This folder will be created after v1.3.0 or newer of the Shortcut Add-On is opened.  If the folder does not already exist, you can create it yourself.

Android expects certain image dimensions (measured in pixels) for shortcut icons. The size required depends on the resolution of your device but generally speaking, the larger the better.

If you are not sure which size to use, 72x72 or 96x96 is recommended. Android will downsize larger icons and upsize smaller icons as necessary. Downsizing generally still looks great on all devices but upsizing can lead to pixelated or "blocky" images.  To simplify making your own custom buttons, you can download a blank horizontal oval gel button here.  If the image opens in a new window, simply right-click on it and you can then save it to your computer.  This is the same button that is used when you choose the "generic" icon option when creating a shortcut.  This image can be used as a template and you can add your own text or logos to it.


Image Guidelines:

Low density screens: 36x36
Medium density screens: 48x48
High density screens: 72x72
Extra-High density screens: 96x96

The images can either be PNG (recommended) or JPG files. PNG supports transparency which often looks better especially if the image is not full size and square.

Filenames should be in all lower-case including the extension (.png or .jpg).


Favorite Channels:

You can use a custom image (such as a channel logo) for individual channels. Simply create a png or jpg image with the channel number for the filename.

For example, if you create an image named "298.png" or "298.jpg", that image will be used if you create a shortcut to channel 298.

If your favorites contain any OTA channels, be sure to include the minor channel number (such as "2.1.png" for OTA channel 2.1).


General buttons and commands:

You can also use custom images for shortcuts to any button supported in the Shortcut Add-On. Creating an image with a name below will replace the default icon for that shortcut.

For example, if you create an image named "sc_ccon.png" or "sc_ccon.jpg", that image will be used if you create a shortcut to the "CC On" button.


sc_active
sc_advance
sc_back
sc_blue
sc_ccon
sc_ccoff
sc_chandown
sc_chanup
sc_dash
sc_down
sc_enter
sc_exit
sc_fav
sc_ffwd
sc_format
sc_green
sc_guide
sc_info
sc_input
sc_left
sc_list
sc_macro
sc_menu
sc_mute
sc_onnow
sc_pause
sc_play
sc_power
sc_prev
sc_reboot
sc_record
sc_red
sc_replay
sc_rew
sc_right
sc_select
sc_stop
sc_up
sc_voldown
sc_volup
sc_yellow
sc_0
sc_1
sc_2
sc_3
sc_4
sc_5
sc_6
sc_7
sc_8
sc_9

Tags: Custom Shortcut/Widget Icons
Average rating: 3 (1 Vote)

You cannot comment on this entry