-
-
Notifications
You must be signed in to change notification settings - Fork 30
Setting custom styles
In app/src/main/res/values/styles.xml
, you will find 3 important styles:
MyApp.SplashScreen
MyApp.Default
MyApp.Default.Amoled
Fonts customization provided in this dashboard is limited and will only apply to specific UI elements.
To set custom fonts in these, be sure to fill the following attributes:
- customFontBold
- customFontNormal
By default Frames provides some styles that you can keep if you're ok with them (which are the default set there).
To use your custom fonts, create a font
folder like app/src/main/res/font
. Put your font files there, and also create a custom font family XML there. Learn how to create them here.
Next step is to update the attributes in styles to point to your font family xml
s. Be sure to NOT point the font files (.ttf
, .otf
, etc.)
The result in every style would be something like:
<item name="customFontBold">@font/my_custom_bold_font_family</item>
<item name="customFontNormal">@font/my_custom_normal_font_family</item>
@font/my_custom_*_font_family
is just for reference. As I said before, it should be the name of your font familyxml
s.
Check the MyApp.BottomNavigationView
style information written in styles.xml
Check the file app/src/main/res/values/shape_styles.xml
and read the Shape Theming documentation
If you want to go deeper and change the whole app fonts, or any additional styles, you will have to figure it out on your own, as support will NOT be provided for such kind of changes.
Technically, with these styles you could customize your app as much as you'd like if you're brave enough to try. Learn more about app theming at:
Copyright 2022 by Jahir Fiquitiva. This work is licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License.
This list represents the step-to-step process to setup Kuper. It's organized so it's easier to follow. (Although you can do it in the order you want.)
- First steps
- Setting
build.gradle
up - Setting
AndroidManifest.xml
up - Change app icons
- Setting colors up
- Setting
MainActivity.kt
up - Setting
strings.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
- Update your app's changelog
- Publish your app! 😃
- Update to latest version