-
-
Notifications
You must be signed in to change notification settings - Fork 136
Adding Kustom assets
Kustom require a set of files that go into 4 folders, depending on the asset: komponents
, wallpapers
, widgets
, lockscreens
.
Those 4 folders are inside src/main/assets
.
Copy your widgets files into the respective folders, keeping these things in mind:
-
komponents
: the file must end with.komp.zip
extension. -
wallpapers
: the file must end with.klwp.zip
extension. -
widgets
: the file must end with.kwgt.zip
extension. -
lockscreens
: the file must end with.klck.zip
extension.
Check the sample app assets for a real example.
And that's it.
Go to your project's AndroidManifest.xml, and search for the lines:
<!-- TODO: Remove comment marks to enable Kustom Skins
* Remove intent-filter action lines according to your needs.
* If you're not going to provide one of the options, remove its respective line.
<provider
android:name="org.kustom.api.Provider"
android:authorities="${applicationId}.kustom.provider"
android:exported="true"
tools:ignore="ExportedContentProvider">
<intent-filter>
<action android:name="org.kustom.provider.WALLPAPERS"/>
<action android:name="org.kustom.provider.WIDGETS"/>
<action android:name="org.kustom.provider.KOMPONENTS"/>
<action android:name="org.kustom.provider.LOCKSCREENS"/>
</intent-filter>
</provider>
-->
Remove the comment marks to enable Kustom.
Also, remove the intent filters for the things you won't use or include.
Go to res/values/kuper_setup.xml
and edit whatever you want.
I think the comments and names make the things self-explanatory, so it will be easy to do by yourself. This page explains it in full details though.
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