Repository navigation
Add Credits
The About screen shows a card for each person behind your app. You set them up in app/src/main/res/values/about_setup.xml.
The file has five lists. Each person gets one <item> in every list, in the same position. The first item of each list makes the first card, the second item makes the second card, and so on.
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ExtraTranslation,MissingTranslation">
<string-array name="credits_photos" formatted="false" tools:ignore="TypographyDashes">
<item>https://example.com/jane.png</item>
</string-array>
<string-array name="credits_titles">
<item>Jane Doe</item>
</string-array>
<string-array name="credits_descriptions">
<item>Designer and developer.</item>
</string-array>
<string-array name="credits_buttons">
<item>Website|Instagram</item>
</string-array>
<string-array name="credits_links">
<item>https://example.com|https://instagram.com/janedoe</item>
</string-array>
</resources>| List | What goes in each item |
|---|---|
credits_photos |
A direct link to the person's photo |
credits_titles |
Their name |
credits_descriptions |
A short bio |
credits_buttons |
Button labels, separated by |
|
credits_links |
The link for each button, separated by |, in the same order as the labels |
To add a person, add one item to each of the five lists. To remove one, delete their item from each list.
-
Photos need a direct link to the image file, the kind that opens only the image in your browser. Share links usually open a web page instead, so the photo won't load. For Google Drive, you can change the link so it works: see Using Google Drive. In this file, write the
&in that link as&. -
Buttons and links must match. If a person has
Website|Instagram, their links item needs exactly two links, in that order. Otherwise buttons open the wrong page.
Note
Would you like to help improve this wiki?
It is advised that you contribute to jahirfiquitiva/dashboards-wikis, which is the repository that holds the contents of this wiki. Please open an issue or a pull request in that repo instead.
Wiki by Jahir Fiquitiva, with contributions from Patryk Goworowski, Lumiq Creative and Jackson Hayes. Special thanks to Sanchith Hegde.
Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.