-
-
Notifications
You must be signed in to change notification settings - Fork 136
Setting up icon pack (Part 2)
Navigate to app/src/main/res/values/
There you will find a set of more XMLs, which are required for the icon pack to work properly too.
Those files are:
- bools.xml
- docks.xml
- icon_pack.xml
- skin_colors.xml
- wallpapers.xml
You can keep bools.xml and skin_colors.xml exactly as they are.
How to edit the other files...
-
docks.xml
This file only contains an array:
<string-array name="dock_backgroundlist"> <item>dock_a</item> <item>dock_b</item> </string-array>
The items must match the names of png pictures you must add in the same folder where the icons go. Also, keep the string-array name (dock_backgroundlist) exactly as it is, otherwise this list may not work properly.
If you don't want to provide docks, simply remove all items from this array.
-
wallpapers.xml
This file contains a string-array and a string:
<string-array name="wallpapers"> <item>circles_wall</item> </string-array> <string name="default_wallpaper">circles_wall</string>
Keep the string-array and string names ("wallpapers" and "default_wallpaper" respectively) exactly as that, for they to be properly recognized.
The items of the array, and the default wallpaper, must match the name of pictures you must add in the folder
app/src/main/res/drawable-nodpi
-
Now the longest file
icon_pack.xml
This file contains many arrays that contains the names of the icons files.
I will try to explain only by the name:
<string-array name="icons_preview">
This array contains the icons names that will be shown in the icons preview. Try to keep at least 8 icons there.<string-array name="icon_filters">
This array contains the filters names that will be used in the icons preview section. Make sure the names you put in the array, match the names of the other arrays. I mean, as you see, the next array is named "something", so I will put "something" as an item of the arrayicon_filters
.<string-array name="something">
You can create more arrays with any name you want. The arrays you create will be taken into account to generate the filters in the icons preview section.<string-array name="icon_pack">
This array is needed by some launchers too.
That's it.
Blueprint has file naming conventions (from Polar dashboard) which allow you to specify how the app's name will be displayed in the dashboard. Here are the rules:
- No changes: the first letter of the name will be capital.
- Single underscores: will become a space in the middle of a word, the next letter is capital. If it's placed at the beginning of the name, it makes the first letter lowercase.
- Double underscores: no space, makes the next letter capital.
- Triple underscores: makes the next word all capital.
Here are some examples:
- betternet.png will become Betternet
- google_chrome.png will become Google Chrome
- pay__pal.png will become PayPal
- _blueprint.png will become blueprint
- ___blueprint.png will become BLUEPRINT
- ___npr_one.png will become NPR One
- material___os.png will become MaterialOS
Wiki written by Patryk Goworowski, Lumiq Creative, and Jackson Hayes. Special thanks to Sanchith Hegde. Copyright © 2018 Jahir Fiquitiva.
Licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://creativecommons.org/licenses/by-sa/4.0/legalcode.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- Get Started
- Set Basic Values
- Create a Package
- Set App Name
- Set App Icon
- Set Launch Screen Image
- Set App Colours
- Change Store & License Settings
- Setting
blueprint_setup.xml
up - Setting
kuper_setup.xml
up - Setting
frames_setup.xml
up - Setting custom styles
- Adding Zooper widgets
- Adding Kustom assets
- Setting up Credits
- Optimize your wallpapers
- Setting up the wallpapers JSON file
- Enabling notifications
- Setting up the icon pack (1/2)
- Setting up the icon pack (2/2)
- Add support for Smart Launcher
- Update your app's changelog