This repository was archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Customization: Basic
Dani Mahardhika edited this page Oct 30, 2017
·
15 revisions
Files that you need to see:
Open dashboard_configurations.xml
inside values folder, there will be a lot of options to configure the dashboard.
-
app_name
→ Your application name
-
use_dark_theme
→(true)
Use dark theme as default theme.(false)
Use light theme as default theme.
-
muzei_art_source_name
→ Muzei Live Wallpaper art source name. -
muzei_art_source_desc
→ Muzei Live Wallpaper art source description. -
muzei_color
→ Muzei Live Wallpaper art source color. -
ic_muzei_logo.png
→ Muzei art source icon located in drawable-xxxhdpi folder. Replace it with your own icon.
-
ic_splash_screen.png
→ Splash screen icon located inmipmap-
folder. Replace it with your own icon.
-
toolbar_title
→ Toolbar title inside wallpapers section.
-
wallpaper_json
→ Wallpaper json link. You can see json example here.
NOTE: Your wallpaper format should be *.jpeg
or *.jpg
.
-
enable_wallpaper_download
→(true)
User able to download wallpaper.(false)
User not able to download wallpaper, but user still able to apply wallpaper from dashboard.
-
navigation_view_header
→ Navigation drawer header image, you can use color hex, drawable or image url.- If you don't want to show image just set to empty
<string name="navigation_view_header"></string>
. - If you want to use solid color, you can put color hex
<string name="navigation_view_header">#F44336</string>
- If you don't want to show image just set to empty
-
navigation_view_header_title
→ Text on navigation drawer header. If you don't want to show text just set to empty<string name="navigation_view_header_title"></string>
. -
Removednavigation_view_header_style
→ Change navigation view image header style. Available choices: normal and mini.
-
about_image
→ About header image, you can use color hex, drawable or image url. - If you don't want to show image just set to empty
<string name="about_image"></string>
. - If you want to use solid color, you can put color hex
<string name="about_image">#F44336</string>
. -
about_profile_image
→ Profile image on about header, you can use drawable or image url for profile image. -
about_title
→ Text belowabout_profile_image
. -
about_desc
→ Text belowabout_title
, support html formatting. -
about_social_links
→ Social link inside about, supported url Email, Behance, Dribbble, Facebook, Github, Google+, Instagram, Pinterest, Twitter. The link will be marked as regular website if doesn't listed.
Here an example
<string-array name="about_social_links">
<item>https://www.instagram.com/_u/yourusername</item>
<item>https://twitter.com/</item>
<item>https://www.behance.net/</item>
<item>https://plus.google.com/u/1/+yourusername</item>
<item>http://github.com/yourusername</item>
<item>http://www.yourwebsite.com</item>
<item>[email protected]</item>
</string-array>
-
show_contributors_dialog
→ Show contributors dialog, take a look insidevalues/xml/contributors.xml
to add contributor.
-
enable_donation
→(true)
Enable and show donation in navigation drawer.(false)
Disable and hide donation in navigation drawer.
NOTE: IF YOU DISABLE LICENSE CHECKER AND DONATION JUST IGNORE THIS.
But if you enable one of them, License Checker, Donation or both of them, you need to open License.java
inside licenses
package.
-
private static final boolean ENABLE_LICENSE_CHECKER
→(true)
Enable license checker.(false)
Disable license checker. -
private static final byte[] SALT
→ Random bytes. For easy way you can go to this site www.random.org.
1. Set generate 20 random strings.
2. Each string should be 2 character long.
3. Check numeric digit (0-9).
4. Choose each string should be unique
5. Get string
Here an example
private static final byte[] SALT = new byte[] {
66, 57, 94, 14, 05, 33, 22, 55, 10, 48, 90, 45, 40, 02, 36, 88, 76, 71, 86, 51
};
-
private static final String LICENSE_KEY
→ You can get your license key from Google Developer Console. Open your app, choose Services & APIs, you will see your license key there.
Here an example
private static final String LICENSE_KEY = "abvd$dsfb1235sdfb125...";
NOTE: You need to setup SALT
and LICENSE_KEY
if you enable License Checker. You need to setup only LICENSE_KEY
if you disable License Checker and enable Donation or Premium Request.
-
private static final InAppBilling[] DONATION_PRODUCT
→ Donation InApp Product Id.
More info about InApp-Purchase can be found here.
- Setup
- Customization: Basic → Necessary
- Customization: Advanced → Optional
- Dashboard Configuration → Optional