Slide 31
Slide 31 text
@MOLSJEROEN
CHEAT SHEET
ANDROID RESOURCE NAMING CHEAT SHEET
___
LAYOUTS
STRINGS
DRAWABLES
DIMENSIONS
_.XML
is activity, fragment, view, item or layout
_
___
__
“all” if reused in ≠ screens
is width, height, size, margin, padding, elevation, keyline or textsize
IDS
__
is name of Android/Custom view class
custom part Android view subclass
fixed set of options differentiate multiple elements in one screen always optional
e.g. activity_main.xml
all_done
e.g. main_intro
[xdp] or bucket [small]
main_background
e.g. all_infoicon_small
e.g. linearlayout_main_fragmentcontainer
e.g. keyline_all_text
choose the right one below
@MOLSJEROEN