-
-
Notifications
You must be signed in to change notification settings - Fork 30
Setting up your project about_setup.xml
Open about_setup.xml
file that is located in /app/src/main/res/values/about_setup.xml
This file allows you to modify cards in the about screen and it looks like this:
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string-array name="credits_photos" formatted="false" tools:ignore="TypographyDashes">
<item>https://lh3.googleusercontent.com/-0mdcClKXlgM/AAAAAAAAAAI/AAAAAAAAAAA/xgdLWeAg7pM/s120-c/photo.jpg</item>
<item>https://ssl.gstatic.com/images/branding/product/2x/avatar_square_grey_512dp.png</item>
</string-array>
<string-array name="credits_titles">
<item>Your Name</item>
<item>Another Name</item>
</string-array>
<string-array name="credits_descriptions">
<item>Details of first credited person</item>
<item>Details of another credited person</item>
</string-array>
<string-array name="credits_buttons">
<item>Google+|Instagram</item>
<item>Facebook|Website|Twitter</item>
</string-array>
<string-array name="credits_links">
<item>https://www.google.com/+JahirFiquitivaR|http://instagram.com/jahirfiquitiva</item>
<item>https://facebook.com/|https://www.jahirfiquitiva.me/|https://twitter.com/jahirfiquitiva</item>
</string-array>
</resources>
It works in a very simple way. By default each string-array
has 2 <item>
tags. This makes the about section display 2 cards with app creators.
If you want to add/remove a number of cards in about screen, simply add/remove <item>
tags.
In order to add your text or link, simply paste it between <item></item>
tags
-
<string-array name="credits_photos" formatted="false" tools:ignore="TypographyDashes">
Thisstring-array
holds links to avatars/profile pictures that will be displayed in card(s). Keep in mind, that it must be a RAW link, that leads to the plain image file and not a sharing page, like you normally get by sharing files from most popular cloud services. You can find tutorials on how to get RAW links from cloud services like Dropbox or Google Drive in the internet. -
<string-array name="credits_titles">
Thisstring-array
holds creators' names -
<string-array name="credits_descriptions">
Thisstring-array
holds creators' descriptions -
<string-array name="credits_buttons">
Thisstring-array
holds buttons that will have links to your webpages. You can add multiple buttons here by sepparating them with|
sign eg.Link name1|Link name2
. Following this example, the card in about screen will display 2 buttons labeledLink name1
andLink name2
that will open webpages that you will set up in anstring-array
below. -
<string-array name="credits_links">
Thisstring-array
holds links that will hide under buttons you've set up above. It works in the same way as credit buttons. Make sure to add the same number of links and buttons separated by|
sign.
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