-
-
Notifications
You must be signed in to change notification settings - Fork 126
Add Credits
Lumiq Creative edited this page Jul 15, 2020
·
2 revisions
/app/src/main/res/about_setup.xml houses content for the About page. Five attributes are accepted for each list entry:
-
credits_photos
contains direct profile picture links (with file extensions). -
credits_titles
contains names. -
credits_descriptions
contains bios. -
credits_buttons
contains button labels, separated by pipes ( | ). -
credits_links
contains button URLs, separated by pipes ( | ).
In arrays, create a string for each credited person. Frames creates About entries from strings of matching position in their parent arrays, and label–URL linking for buttons is controlled by the position of these attributes in their pipe-separated lists.
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string-array name="credits_photos" formatted="false" tools:ignore="TypographyDashes">
<item>https://example.com/example.png</item>
</string-array>
<string-array name="credits_titles">
<item>John Doe</item>
</string-array>
<string-array name="credits_descriptions">
<item>Freelance graphic designer.</item>
</string-array>
<string-array name="credits_buttons">
<item>Website|Twitter</item>
</string-array>
<string-array name="credits_links">
<item>https://example.com|https://twitter.com</item>
</string-array>
</resources>
Copyright 2022 by Jahir Fiquitiva. This work is licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License.