Debian Codegraph @

templates/activities/ScrollActivity/root/res/values/strings.xml.ftl

raw
1 <resources>
2 <#if !isNewProject>
3 <string name="title_${activityToLayout(activityClass)}">${escapeXmlString(activityTitle)}</string>
4 </#if>
5 <string name="large_text">
6 "Material is the metaphor.\n\n"
7
8 "A material metaphor is the unifying theory of a rationalized space and a system of motion."
9 "The material is grounded in tactile reality, inspired by the study of paper and ink, yet "
10 "technologically advanced and open to imagination and magic.\n"
11 "Surfaces and edges of the material provide visual cues that are grounded in reality. The "
12 "use of familiar tactile attributes helps users quickly understand affordances. Yet the "
13 "flexibility of the material creates new affordances that supercede those in the physical "
14 "world, without breaking the rules of physics.\n"
15 "The fundamentals of light, surface, and movement are key to conveying how objects move, "
16 "interact, and exist in space and in relation to each other. Realistic lighting shows "
17 "seams, divides space, and indicates moving parts.\n\n"
18
19 "Bold, graphic, intentional.\n\n"
20
21 "The foundational elements of print based design typography, grids, space, scale, color, "
22 "and use of imagery guide visual treatments. These elements do far more than please the "
23 "eye. They create hierarchy, meaning, and focus. Deliberate color choices, edge to edge "
24 "imagery, large scale typography, and intentional white space create a bold and graphic "
25 "interface that immerse the user in the experience.\n"
26 "An emphasis on user actions makes core functionality immediately apparent and provides "
27 "waypoints for the user.\n\n"
28
29 "Motion provides meaning.\n\n"
30
31 "Motion respects and reinforces the user as the prime mover. Primary user actions are "
32 "inflection points that initiate motion, transforming the whole design.\n"
33 "All action takes place in a single environment. Objects are presented to the user without "
34 "breaking the continuity of experience even as they transform and reorganize.\n"
35 "Motion is meaningful and appropriate, serving to focus attention and maintain continuity. "
36 "Feedback is subtle yet clear. Transitions are efficient yet coherent.\n\n"
37
38 "3D world.\n\n"
39
40 "The material environment is a 3D space, which means all objects have x, y, and z "
41 "dimensions. The z-axis is perpendicularly aligned to the plane of the display, with the "
42 "positive z-axis extending towards the viewer. Every sheet of material occupies a single "
43 "position along the z-axis and has a standard 1dp thickness.\n"
44 "On the web, the z-axis is used for layering and not for perspective. The 3D world is "
45 "emulated by manipulating the y-axis.\n\n"
46
47 "Light and shadow.\n\n"
48
49 "Within the material environment, virtual lights illuminate the scene. Key lights create "
50 "directional shadows, while ambient light creates soft shadows from all angles.\n"
51 "Shadows in the material environment are cast by these two light sources. In Android "
52 "development, shadows occur when light sources are blocked by sheets of material at "
53 "various positions along the z-axis. On the web, shadows are depicted by manipulating the "
54 "y-axis only. The following example shows the card with a height of 6dp.\n\n"
55
56 "Resting elevation.\n\n"
57
58 "All material objects, regardless of size, have a resting elevation, or default elevation "
59 "that does not change. If an object changes elevation, it should return to its resting "
60 "elevation as soon as possible.\n\n"
61
62 "Component elevations.\n\n"
63
64 "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
65 "does not vary from 6dp in one app to 16dp in another app).\n"
66 "Components may have different resting elevations across platforms, depending on the depth "
67 "of the environment (e.g., TV has a greater depth than mobile or desktop).\n\n"
68
69 "Responsive elevation and dynamic elevation offsets.\n\n"
70
71 "Some component types have responsive elevation, meaning they change elevation in response "
72 "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
73 "changes are consistently implemented using dynamic elevation offsets.\n"
74 "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
75 "to the component’s resting state. They ensure that elevation changes are consistent "
76 "across actions and component types. For example, all components that lift on press have "
77 "the same elevation change relative to their resting elevation.\n"
78 "Once the input event is completed or cancelled, the component will return to its resting "
79 "elevation.\n\n"
80
81 "Avoiding elevation interference.\n\n"
82
83 "Components with responsive elevations may encounter other components as they move between "
84 "their resting elevations and dynamic elevation offsets. Because material cannot pass "
85 "through other material, components avoid interfering with one another any number of ways, "
86 "whether on a per component basis or using the entire app layout.\n"
87 "On a component level, components can move or be removed before they cause interference. "
88 "For example, a floating action button (FAB) can disappear or move off screen before a "
89 "user picks up a card, or it can move if a snackbar appears.\n"
90 "On the layout level, design your app layout to minimize opportunities for interference. "
91 "For example, position the FAB to one side of stream of a cards so the FAB won’t interfere "
92 "when a user tries to pick up one of cards.\n\n"
93 </string>
94 </resources>