Skip to content

5.2 General Overlays with option per Overlay

Niklas Schnettler edited this page Feb 9, 2016 · 11 revisions

###Which Overlays belong into this category? When to use this category?

If you have Overlays which have color/style options which are only available to this Overlay this is the right place to put them. For example you want to add a primary color to your theme and you want to let the user choose between four different colors.

###How to put Overlays in this category?

Create a folder for each style/color the Overlay is available in and put the matching Overlays into it (All Overlays should have the same Name).
Copy those folders into a zip named ThemeName_OverlayName.zip
---> YourThemeName = Name of your theme, like you defined in the strings.xml
---> OverlayName = Name of the Overlays inside the folders inside the zip

####Example:

**HeX_Primary.zip** includes:
Blue
HeX_Primary.apk
Green
HeX_Primary.apk
Green
HeX_Primary.apk

Clone this wiki locally