-
Notifications
You must be signed in to change notification settings - Fork 91
Documentation Guidelines
Nathanael Silverman edited this page Apr 9, 2018
·
1 revision
These are guidelines for how to write/edit this documentation wiki.
Level 1 titles are the same size as the page titles which creates a confusing visual hierarchy.
For example:
// A code sample
Self-explanatory.
As if they were sitting next to you and you were teaching them.
For example:
- ... declare custom attributes for the substyles you'd like to support...
- You can now use these attributes in XML...
- ... make sure to import the Paris class...
An arbitrary custom view could be MyView
for example. An arbitrary style resource could be R.style.MyStyle
or R.style.MyGreenTextStyle
to indicate that the text color is set to green by that style without needing to show the style declaration.