Repository navigation
Expand file tree
/
Copy pathpredictive-back-gesture.json
More file actions
53 lines (53 loc) · 1.89 KB
/
Copy pathpredictive-back-gesture.json
File metadata and controls
53 lines (53 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"id": "official.predictive-back-gesture",
"revision": 3,
"source": "official",
"releaseChannel": "preview-only",
"title": {
"translations": {
"en": "Predictive back gesture",
"zh-Hans": "预测性返回手势"
}
},
"details": {
"description": {
"translations": {
"en": "Predictive back lets users preview where a back gesture will take them. Apps can explicitly enable predictive back system animations with the android:enableOnBackInvokedCallback application manifest attribute.",
"zh-Hans": "预测性返回可让用户在完成返回手势前预览目标界面。应用可通过 Application Manifest 的 android:enableOnBackInvokedCallback 属性显式启用预测性返回系统动画。"
}
},
"referenceUrl": "https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture"
},
"icon": {
"asset": "icons/predictive-back-gesture.svg",
"renderMode": "monochrome",
"tintRole": "on_surface"
},
"calculation": {
"kind": "predicate",
"predicate": {
"evidence": "manifest_attribute",
"operator": "equal",
"value": {
"manifestAttribute": {
"element": "application",
"name": "android:enableOnBackInvokedCallback",
"boolean": true
}
},
"matchedTitle": {
"translations": {
"en": "Explicitly enabled",
"zh-Hans": "已显式启用"
}
},
"unmatchedTitle": {
"translations": {
"en": "Not explicitly enabled",
"zh-Hans": "未显式启用"
}
}
}
},
"fingerprint": "artifact"
}