@pi-r/android 0.8.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -7
- package/README.md +1 -1
- package/data/google-maven-snapshot.json +1 -1
- package/data/google-maven.json +1 -1
- package/extensions/app/manifest/index.js +2 -2
- package/extensions/gradle/dependencies/index.js +8 -8
- package/extensions/gradle/settings/index.js +3 -3
- package/extensions/task/index.js +7 -6
- package/index.d.ts +6 -6
- package/index.js +6 -6
- package/package.json +8 -9
- package/project/${app}/${src}/res/drawable/ic_launcher_background.xml +170 -170
- package/project/${app}/${src}/res/drawable/ic_launcher_foreground.xml +29 -29
- package/project/${app}/${src}/res/mipmap-anydpi-v26/ic_launcher.xml +5 -5
- package/project/${app}/${src}/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -5
- package/project/gradle/wrapper/gradle-wrapper.properties +4 -4
- package/project/gradle.properties +3 -3
- package/template/AndroidManifest.xml +24 -24
- package/template/java/static/build.gradle +2 -2
- package/template/java+kotlin/build.gradle +5 -5
- package/template/java+kotlin/settings.gradle +7 -1
- package/template/java+kotlin/static/build.gradle +3 -3
- package/template/kotlin/build.gradle.kts +2 -2
- package/template/kotlin/libs.versions.toml +4 -4
- package/template/kotlin/settings.gradle.kts +29 -23
- package/template/kotlin/static/build.gradle.kts +4 -4
- package/types/index.d.ts +4 -4
- package/types/squared.d.ts +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const path = require("path");
|
|
2
|
+
const path = require("node:path");
|
|
3
3
|
const htmlparser2 = require("htmlparser2");
|
|
4
4
|
const domhandler = require("domhandler");
|
|
5
5
|
const domutils = require("domutils");
|
|
@@ -19,7 +19,7 @@ function finalize(instance) {
|
|
|
19
19
|
if (localUri && source && instance.canWrite(localUri, { ownPermissionOnly: true })) {
|
|
20
20
|
const { supportsRtl, label, theme, activity, metaData = [], activityName, fontProvider } = manifest.application || {};
|
|
21
21
|
const profileable = config.profileable;
|
|
22
|
-
let modified;
|
|
22
|
+
let modified = false;
|
|
23
23
|
if (!existing) {
|
|
24
24
|
source = (0, util_1.replaceAll)(source, (name) => {
|
|
25
25
|
switch (name) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const fs = require("fs");
|
|
2
|
+
const path = require("node:path");
|
|
3
|
+
const fs = require("node:fs");
|
|
4
4
|
const Document = require("@e-mc/document");
|
|
5
5
|
const types_1 = require("@e-mc/types");
|
|
6
6
|
const util_1 = require("@e-mc/document/util");
|
|
@@ -99,7 +99,7 @@ function finalize(instance) {
|
|
|
99
99
|
let { localUri, source, existing, kotlin = false, language } = instance.findTemplate(path.join(this.baseDirectory, mainParentDir), "build.gradle", { detect: instance.detect(this), languageOf: 'gradle' });
|
|
100
100
|
if (localUri && source && instance.canWrite(localUri, { ownPermissionOnly: true })) {
|
|
101
101
|
const javaVersion = instance.config.javaVersion;
|
|
102
|
-
let jvmTarget, modified;
|
|
102
|
+
let jvmTarget, modified = false;
|
|
103
103
|
const upgrade = javaVersion > 0;
|
|
104
104
|
const setModified = (output) => {
|
|
105
105
|
if (output !== source) {
|
|
@@ -138,7 +138,7 @@ function finalize(instance) {
|
|
|
138
138
|
continue;
|
|
139
139
|
}
|
|
140
140
|
if (target.dependencies) {
|
|
141
|
-
let found;
|
|
141
|
+
let found = false;
|
|
142
142
|
for (const { groupId, artifactId, version, scope } of target.dependencies) {
|
|
143
143
|
if (scope && (dependencyScopes === true || dependencyScopes === 1 || hasScope(scope))) {
|
|
144
144
|
let type = -1;
|
|
@@ -225,9 +225,9 @@ function finalize(instance) {
|
|
|
225
225
|
const newLine = source.includes('\r\n') ? '\r\n' : '\n';
|
|
226
226
|
const gradleDir = path.join(this.baseDirectory, 'gradle');
|
|
227
227
|
const template = instance.findTemplate(gradleDir, "libs.versions.toml", { detect: true, subDir: kotlin ? 'kotlin' : undefined, throwsDoesNotExist: false });
|
|
228
|
-
let content = match[1], named = false, versioning, indent;
|
|
228
|
+
let content = match[1], named = false, versioning = false, indent;
|
|
229
229
|
if (template.localUri && template.source) {
|
|
230
|
-
versioning = kotlin && versionCatalog !== false || versionCatalog;
|
|
230
|
+
versioning = kotlin && versionCatalog !== false || !!versionCatalog;
|
|
231
231
|
if (versioning || template.existing) {
|
|
232
232
|
const libraries = {};
|
|
233
233
|
const versions = {};
|
|
@@ -424,7 +424,7 @@ function finalize(instance) {
|
|
|
424
424
|
output = Document.updateGradle(output, ['android', 'buildFeatures'], 'compose = true');
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
427
|
-
const stdLib = instance.findVersion('org.jetbrains.kotlin:kotlin-stdlib', "2.0
|
|
427
|
+
const stdLib = instance.findVersion('org.jetbrains.kotlin:kotlin-stdlib', "2.1.0");
|
|
428
428
|
output = Document.updateGradle(output, ['plugins'], "id 'org.jetbrains.kotlin.android'", { upgrade: true, multiple: true, addendum: `version '${stdLib}'` });
|
|
429
429
|
output = Document.updateGradle(output, ['android', 'buildFeatures'], "compose true");
|
|
430
430
|
if (stdLib.startsWith('1.')) {
|
|
@@ -470,7 +470,7 @@ function finalize(instance) {
|
|
|
470
470
|
let output = source;
|
|
471
471
|
if (targetAPI) {
|
|
472
472
|
const values = typeof targetAPI === 'string' ? [`"android-${targetAPI}"`, `"${targetAPI}"`] : [targetAPI, targetAPI];
|
|
473
|
-
const updateOnly = +targetAPI >=
|
|
473
|
+
const updateOnly = +targetAPI >= +"33";
|
|
474
474
|
let revised = Document.updateGradle(output, ['android'], kotlin ? `compileSdkVersion(${values[0]})` : 'compileSdkVersion ' + values[0], { upgrade: true, updateOnly });
|
|
475
475
|
if (revised === output) {
|
|
476
476
|
output = Document.updateGradle(output, ['android'], kotlin ? `compileSdk(${values[0]})` : 'compileSdk ' + values[0], true);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const util_1 = require("@e-mc/document/util");
|
|
2
|
+
const path = require("node:path");
|
|
4
3
|
const parse_1 = require("@e-mc/document/parse");
|
|
4
|
+
const util_1 = require("@e-mc/document/util");
|
|
5
5
|
function finalize(instance) {
|
|
6
6
|
const { dependencies, projectName, mainParentDir } = instance.config;
|
|
7
7
|
if (!dependencies && !projectName) {
|
|
@@ -10,7 +10,7 @@ function finalize(instance) {
|
|
|
10
10
|
let { localUri, source, existing, kotlin } = instance.findTemplate(this.baseDirectory, "settings.gradle", { detect: instance.detect(this), languageOf: 'gradle' });
|
|
11
11
|
if (localUri && source && instance.canWrite(localUri, { ownPermissionOnly: true })) {
|
|
12
12
|
const targetName = projectName?.replace(/"/g, '\\"');
|
|
13
|
-
let modified;
|
|
13
|
+
let modified = false;
|
|
14
14
|
if (existing) {
|
|
15
15
|
let match;
|
|
16
16
|
if (dependencies) {
|
package/extensions/task/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const child_process = require("child_process");
|
|
2
|
+
const path = require("node:path");
|
|
3
|
+
const fs = require("node:fs");
|
|
4
|
+
const child_process = require("node:child_process");
|
|
5
5
|
const which = require("which");
|
|
6
6
|
const Document = require("@e-mc/document");
|
|
7
7
|
const types_1 = require("@e-mc/types");
|
|
@@ -28,15 +28,16 @@ async function finalize(instance) {
|
|
|
28
28
|
}
|
|
29
29
|
const settings = instance.settings.extensions?.task || {};
|
|
30
30
|
const exec = settings.exec;
|
|
31
|
-
let { broadcastId, baseDirectory } = this, command = settings.command, uid, gid, title, filename, altname, foundDir;
|
|
31
|
+
let { broadcastId, baseDirectory } = this, command = settings.command, uid, gid, title, filename, altname, foundDir = false;
|
|
32
32
|
if (command) {
|
|
33
|
+
command = path.normalize(command);
|
|
33
34
|
if (command.includes('mvn')) {
|
|
34
35
|
title = "maven";
|
|
35
36
|
}
|
|
36
37
|
else {
|
|
37
|
-
title =
|
|
38
|
+
title = new RegExp(`([^${path.sep === '\\' ? '\\\\' : '/'}]+?)(?:\\.[a-z]+)?$`, 'i').exec(command)?.[1] || 'spawn';
|
|
38
39
|
}
|
|
39
|
-
if (
|
|
40
|
+
if (!command.includes(path.sep)) {
|
|
40
41
|
filename = checkWin32(command);
|
|
41
42
|
}
|
|
42
43
|
command = Document.sanitizeCmd(command);
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IFileManager } from '@e-mc/types/lib';
|
|
2
|
-
|
|
3
|
-
import type { AndroidDocumentConstructor } from './types';
|
|
4
|
-
|
|
5
|
-
declare const Android: AndroidDocumentConstructor<IFileManager>;
|
|
6
|
-
|
|
1
|
+
import type { IFileManager } from '@e-mc/types/lib';
|
|
2
|
+
|
|
3
|
+
import type { AndroidDocumentConstructor } from './types';
|
|
4
|
+
|
|
5
|
+
declare const Android: AndroidDocumentConstructor<IFileManager>;
|
|
6
|
+
|
|
7
7
|
export = Android;
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const fs = require("fs");
|
|
3
|
-
const path = require("path");
|
|
2
|
+
const fs = require("node:fs");
|
|
3
|
+
const path = require("node:path");
|
|
4
4
|
const types_1 = require("@e-mc/types");
|
|
5
5
|
const Document = require('@e-mc/document');
|
|
6
6
|
class AndroidDocument extends Document {
|
|
@@ -10,9 +10,9 @@ class AndroidDocument extends Document {
|
|
|
10
10
|
}
|
|
11
11
|
if (instance.extensions.length > 0) {
|
|
12
12
|
const config = instance.config;
|
|
13
|
-
|
|
14
|
-
if (mainActivityFile && !path.isAbsolute(mainActivityFile)) {
|
|
15
|
-
let pathname =
|
|
13
|
+
let mainActivityFile = config.mainActivityFile;
|
|
14
|
+
if (mainActivityFile && !path.isAbsolute(mainActivityFile = path.normalize(mainActivityFile))) {
|
|
15
|
+
let pathname = mainActivityFile.includes(path.sep) && path.join(this.baseDirectory, mainActivityFile);
|
|
16
16
|
if (pathname && Document.isPath(pathname)) {
|
|
17
17
|
config.mainActivityFile = pathname;
|
|
18
18
|
}
|
|
@@ -188,7 +188,7 @@ class AndroidDocument extends Document {
|
|
|
188
188
|
if (options) {
|
|
189
189
|
({ detect, languageOf, subDir } = options);
|
|
190
190
|
}
|
|
191
|
-
let kotlin, language;
|
|
191
|
+
let kotlin = false, language;
|
|
192
192
|
if (languageOf) {
|
|
193
193
|
kotlin = (language = this.languageOf(languageOf)) === 'kotlin';
|
|
194
194
|
if (detect !== false) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/android",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Android document constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -14,19 +14,18 @@
|
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"squared",
|
|
17
|
-
"e-mc"
|
|
18
|
-
"squared-functions"
|
|
17
|
+
"e-mc"
|
|
19
18
|
],
|
|
20
19
|
"author": "An Pham <anpham6@gmail.com>",
|
|
21
20
|
"license": "MIT",
|
|
22
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
23
22
|
"dependencies": {
|
|
24
|
-
"@e-mc/document": "^0.
|
|
25
|
-
"@e-mc/types": "^0.
|
|
26
|
-
"dom-serializer": "
|
|
27
|
-
"domhandler": "
|
|
28
|
-
"domutils": "
|
|
23
|
+
"@e-mc/document": "^0.11.0",
|
|
24
|
+
"@e-mc/types": "^0.11.0",
|
|
25
|
+
"dom-serializer": "*",
|
|
26
|
+
"domhandler": "*",
|
|
27
|
+
"domutils": "*",
|
|
29
28
|
"htmlparser2": "^9.1.0",
|
|
30
|
-
"which": "^
|
|
29
|
+
"which": "^4.0.0"
|
|
31
30
|
}
|
|
32
31
|
}
|
|
@@ -1,170 +1,170 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportWidth="108"
|
|
6
|
-
android:viewportHeight="108">
|
|
7
|
-
<path
|
|
8
|
-
android:fillColor="#3DDC84"
|
|
9
|
-
android:pathData="M0,0h108v108h-108z" />
|
|
10
|
-
<path
|
|
11
|
-
android:fillColor="#00000000"
|
|
12
|
-
android:pathData="M9,0L9,108"
|
|
13
|
-
android:strokeWidth="0.8"
|
|
14
|
-
android:strokeColor="#33FFFFFF" />
|
|
15
|
-
<path
|
|
16
|
-
android:fillColor="#00000000"
|
|
17
|
-
android:pathData="M19,0L19,108"
|
|
18
|
-
android:strokeWidth="0.8"
|
|
19
|
-
android:strokeColor="#33FFFFFF" />
|
|
20
|
-
<path
|
|
21
|
-
android:fillColor="#00000000"
|
|
22
|
-
android:pathData="M29,0L29,108"
|
|
23
|
-
android:strokeWidth="0.8"
|
|
24
|
-
android:strokeColor="#33FFFFFF" />
|
|
25
|
-
<path
|
|
26
|
-
android:fillColor="#00000000"
|
|
27
|
-
android:pathData="M39,0L39,108"
|
|
28
|
-
android:strokeWidth="0.8"
|
|
29
|
-
android:strokeColor="#33FFFFFF" />
|
|
30
|
-
<path
|
|
31
|
-
android:fillColor="#00000000"
|
|
32
|
-
android:pathData="M49,0L49,108"
|
|
33
|
-
android:strokeWidth="0.8"
|
|
34
|
-
android:strokeColor="#33FFFFFF" />
|
|
35
|
-
<path
|
|
36
|
-
android:fillColor="#00000000"
|
|
37
|
-
android:pathData="M59,0L59,108"
|
|
38
|
-
android:strokeWidth="0.8"
|
|
39
|
-
android:strokeColor="#33FFFFFF" />
|
|
40
|
-
<path
|
|
41
|
-
android:fillColor="#00000000"
|
|
42
|
-
android:pathData="M69,0L69,108"
|
|
43
|
-
android:strokeWidth="0.8"
|
|
44
|
-
android:strokeColor="#33FFFFFF" />
|
|
45
|
-
<path
|
|
46
|
-
android:fillColor="#00000000"
|
|
47
|
-
android:pathData="M79,0L79,108"
|
|
48
|
-
android:strokeWidth="0.8"
|
|
49
|
-
android:strokeColor="#33FFFFFF" />
|
|
50
|
-
<path
|
|
51
|
-
android:fillColor="#00000000"
|
|
52
|
-
android:pathData="M89,0L89,108"
|
|
53
|
-
android:strokeWidth="0.8"
|
|
54
|
-
android:strokeColor="#33FFFFFF" />
|
|
55
|
-
<path
|
|
56
|
-
android:fillColor="#00000000"
|
|
57
|
-
android:pathData="M99,0L99,108"
|
|
58
|
-
android:strokeWidth="0.8"
|
|
59
|
-
android:strokeColor="#33FFFFFF" />
|
|
60
|
-
<path
|
|
61
|
-
android:fillColor="#00000000"
|
|
62
|
-
android:pathData="M0,9L108,9"
|
|
63
|
-
android:strokeWidth="0.8"
|
|
64
|
-
android:strokeColor="#33FFFFFF" />
|
|
65
|
-
<path
|
|
66
|
-
android:fillColor="#00000000"
|
|
67
|
-
android:pathData="M0,19L108,19"
|
|
68
|
-
android:strokeWidth="0.8"
|
|
69
|
-
android:strokeColor="#33FFFFFF" />
|
|
70
|
-
<path
|
|
71
|
-
android:fillColor="#00000000"
|
|
72
|
-
android:pathData="M0,29L108,29"
|
|
73
|
-
android:strokeWidth="0.8"
|
|
74
|
-
android:strokeColor="#33FFFFFF" />
|
|
75
|
-
<path
|
|
76
|
-
android:fillColor="#00000000"
|
|
77
|
-
android:pathData="M0,39L108,39"
|
|
78
|
-
android:strokeWidth="0.8"
|
|
79
|
-
android:strokeColor="#33FFFFFF" />
|
|
80
|
-
<path
|
|
81
|
-
android:fillColor="#00000000"
|
|
82
|
-
android:pathData="M0,49L108,49"
|
|
83
|
-
android:strokeWidth="0.8"
|
|
84
|
-
android:strokeColor="#33FFFFFF" />
|
|
85
|
-
<path
|
|
86
|
-
android:fillColor="#00000000"
|
|
87
|
-
android:pathData="M0,59L108,59"
|
|
88
|
-
android:strokeWidth="0.8"
|
|
89
|
-
android:strokeColor="#33FFFFFF" />
|
|
90
|
-
<path
|
|
91
|
-
android:fillColor="#00000000"
|
|
92
|
-
android:pathData="M0,69L108,69"
|
|
93
|
-
android:strokeWidth="0.8"
|
|
94
|
-
android:strokeColor="#33FFFFFF" />
|
|
95
|
-
<path
|
|
96
|
-
android:fillColor="#00000000"
|
|
97
|
-
android:pathData="M0,79L108,79"
|
|
98
|
-
android:strokeWidth="0.8"
|
|
99
|
-
android:strokeColor="#33FFFFFF" />
|
|
100
|
-
<path
|
|
101
|
-
android:fillColor="#00000000"
|
|
102
|
-
android:pathData="M0,89L108,89"
|
|
103
|
-
android:strokeWidth="0.8"
|
|
104
|
-
android:strokeColor="#33FFFFFF" />
|
|
105
|
-
<path
|
|
106
|
-
android:fillColor="#00000000"
|
|
107
|
-
android:pathData="M0,99L108,99"
|
|
108
|
-
android:strokeWidth="0.8"
|
|
109
|
-
android:strokeColor="#33FFFFFF" />
|
|
110
|
-
<path
|
|
111
|
-
android:fillColor="#00000000"
|
|
112
|
-
android:pathData="M19,29L89,29"
|
|
113
|
-
android:strokeWidth="0.8"
|
|
114
|
-
android:strokeColor="#33FFFFFF" />
|
|
115
|
-
<path
|
|
116
|
-
android:fillColor="#00000000"
|
|
117
|
-
android:pathData="M19,39L89,39"
|
|
118
|
-
android:strokeWidth="0.8"
|
|
119
|
-
android:strokeColor="#33FFFFFF" />
|
|
120
|
-
<path
|
|
121
|
-
android:fillColor="#00000000"
|
|
122
|
-
android:pathData="M19,49L89,49"
|
|
123
|
-
android:strokeWidth="0.8"
|
|
124
|
-
android:strokeColor="#33FFFFFF" />
|
|
125
|
-
<path
|
|
126
|
-
android:fillColor="#00000000"
|
|
127
|
-
android:pathData="M19,59L89,59"
|
|
128
|
-
android:strokeWidth="0.8"
|
|
129
|
-
android:strokeColor="#33FFFFFF" />
|
|
130
|
-
<path
|
|
131
|
-
android:fillColor="#00000000"
|
|
132
|
-
android:pathData="M19,69L89,69"
|
|
133
|
-
android:strokeWidth="0.8"
|
|
134
|
-
android:strokeColor="#33FFFFFF" />
|
|
135
|
-
<path
|
|
136
|
-
android:fillColor="#00000000"
|
|
137
|
-
android:pathData="M19,79L89,79"
|
|
138
|
-
android:strokeWidth="0.8"
|
|
139
|
-
android:strokeColor="#33FFFFFF" />
|
|
140
|
-
<path
|
|
141
|
-
android:fillColor="#00000000"
|
|
142
|
-
android:pathData="M29,19L29,89"
|
|
143
|
-
android:strokeWidth="0.8"
|
|
144
|
-
android:strokeColor="#33FFFFFF" />
|
|
145
|
-
<path
|
|
146
|
-
android:fillColor="#00000000"
|
|
147
|
-
android:pathData="M39,19L39,89"
|
|
148
|
-
android:strokeWidth="0.8"
|
|
149
|
-
android:strokeColor="#33FFFFFF" />
|
|
150
|
-
<path
|
|
151
|
-
android:fillColor="#00000000"
|
|
152
|
-
android:pathData="M49,19L49,89"
|
|
153
|
-
android:strokeWidth="0.8"
|
|
154
|
-
android:strokeColor="#33FFFFFF" />
|
|
155
|
-
<path
|
|
156
|
-
android:fillColor="#00000000"
|
|
157
|
-
android:pathData="M59,19L59,89"
|
|
158
|
-
android:strokeWidth="0.8"
|
|
159
|
-
android:strokeColor="#33FFFFFF" />
|
|
160
|
-
<path
|
|
161
|
-
android:fillColor="#00000000"
|
|
162
|
-
android:pathData="M69,19L69,89"
|
|
163
|
-
android:strokeWidth="0.8"
|
|
164
|
-
android:strokeColor="#33FFFFFF" />
|
|
165
|
-
<path
|
|
166
|
-
android:fillColor="#00000000"
|
|
167
|
-
android:pathData="M79,19L79,89"
|
|
168
|
-
android:strokeWidth="0.8"
|
|
169
|
-
android:strokeColor="#33FFFFFF" />
|
|
170
|
-
</vector>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:width="108dp"
|
|
4
|
+
android:height="108dp"
|
|
5
|
+
android:viewportWidth="108"
|
|
6
|
+
android:viewportHeight="108">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#3DDC84"
|
|
9
|
+
android:pathData="M0,0h108v108h-108z" />
|
|
10
|
+
<path
|
|
11
|
+
android:fillColor="#00000000"
|
|
12
|
+
android:pathData="M9,0L9,108"
|
|
13
|
+
android:strokeWidth="0.8"
|
|
14
|
+
android:strokeColor="#33FFFFFF" />
|
|
15
|
+
<path
|
|
16
|
+
android:fillColor="#00000000"
|
|
17
|
+
android:pathData="M19,0L19,108"
|
|
18
|
+
android:strokeWidth="0.8"
|
|
19
|
+
android:strokeColor="#33FFFFFF" />
|
|
20
|
+
<path
|
|
21
|
+
android:fillColor="#00000000"
|
|
22
|
+
android:pathData="M29,0L29,108"
|
|
23
|
+
android:strokeWidth="0.8"
|
|
24
|
+
android:strokeColor="#33FFFFFF" />
|
|
25
|
+
<path
|
|
26
|
+
android:fillColor="#00000000"
|
|
27
|
+
android:pathData="M39,0L39,108"
|
|
28
|
+
android:strokeWidth="0.8"
|
|
29
|
+
android:strokeColor="#33FFFFFF" />
|
|
30
|
+
<path
|
|
31
|
+
android:fillColor="#00000000"
|
|
32
|
+
android:pathData="M49,0L49,108"
|
|
33
|
+
android:strokeWidth="0.8"
|
|
34
|
+
android:strokeColor="#33FFFFFF" />
|
|
35
|
+
<path
|
|
36
|
+
android:fillColor="#00000000"
|
|
37
|
+
android:pathData="M59,0L59,108"
|
|
38
|
+
android:strokeWidth="0.8"
|
|
39
|
+
android:strokeColor="#33FFFFFF" />
|
|
40
|
+
<path
|
|
41
|
+
android:fillColor="#00000000"
|
|
42
|
+
android:pathData="M69,0L69,108"
|
|
43
|
+
android:strokeWidth="0.8"
|
|
44
|
+
android:strokeColor="#33FFFFFF" />
|
|
45
|
+
<path
|
|
46
|
+
android:fillColor="#00000000"
|
|
47
|
+
android:pathData="M79,0L79,108"
|
|
48
|
+
android:strokeWidth="0.8"
|
|
49
|
+
android:strokeColor="#33FFFFFF" />
|
|
50
|
+
<path
|
|
51
|
+
android:fillColor="#00000000"
|
|
52
|
+
android:pathData="M89,0L89,108"
|
|
53
|
+
android:strokeWidth="0.8"
|
|
54
|
+
android:strokeColor="#33FFFFFF" />
|
|
55
|
+
<path
|
|
56
|
+
android:fillColor="#00000000"
|
|
57
|
+
android:pathData="M99,0L99,108"
|
|
58
|
+
android:strokeWidth="0.8"
|
|
59
|
+
android:strokeColor="#33FFFFFF" />
|
|
60
|
+
<path
|
|
61
|
+
android:fillColor="#00000000"
|
|
62
|
+
android:pathData="M0,9L108,9"
|
|
63
|
+
android:strokeWidth="0.8"
|
|
64
|
+
android:strokeColor="#33FFFFFF" />
|
|
65
|
+
<path
|
|
66
|
+
android:fillColor="#00000000"
|
|
67
|
+
android:pathData="M0,19L108,19"
|
|
68
|
+
android:strokeWidth="0.8"
|
|
69
|
+
android:strokeColor="#33FFFFFF" />
|
|
70
|
+
<path
|
|
71
|
+
android:fillColor="#00000000"
|
|
72
|
+
android:pathData="M0,29L108,29"
|
|
73
|
+
android:strokeWidth="0.8"
|
|
74
|
+
android:strokeColor="#33FFFFFF" />
|
|
75
|
+
<path
|
|
76
|
+
android:fillColor="#00000000"
|
|
77
|
+
android:pathData="M0,39L108,39"
|
|
78
|
+
android:strokeWidth="0.8"
|
|
79
|
+
android:strokeColor="#33FFFFFF" />
|
|
80
|
+
<path
|
|
81
|
+
android:fillColor="#00000000"
|
|
82
|
+
android:pathData="M0,49L108,49"
|
|
83
|
+
android:strokeWidth="0.8"
|
|
84
|
+
android:strokeColor="#33FFFFFF" />
|
|
85
|
+
<path
|
|
86
|
+
android:fillColor="#00000000"
|
|
87
|
+
android:pathData="M0,59L108,59"
|
|
88
|
+
android:strokeWidth="0.8"
|
|
89
|
+
android:strokeColor="#33FFFFFF" />
|
|
90
|
+
<path
|
|
91
|
+
android:fillColor="#00000000"
|
|
92
|
+
android:pathData="M0,69L108,69"
|
|
93
|
+
android:strokeWidth="0.8"
|
|
94
|
+
android:strokeColor="#33FFFFFF" />
|
|
95
|
+
<path
|
|
96
|
+
android:fillColor="#00000000"
|
|
97
|
+
android:pathData="M0,79L108,79"
|
|
98
|
+
android:strokeWidth="0.8"
|
|
99
|
+
android:strokeColor="#33FFFFFF" />
|
|
100
|
+
<path
|
|
101
|
+
android:fillColor="#00000000"
|
|
102
|
+
android:pathData="M0,89L108,89"
|
|
103
|
+
android:strokeWidth="0.8"
|
|
104
|
+
android:strokeColor="#33FFFFFF" />
|
|
105
|
+
<path
|
|
106
|
+
android:fillColor="#00000000"
|
|
107
|
+
android:pathData="M0,99L108,99"
|
|
108
|
+
android:strokeWidth="0.8"
|
|
109
|
+
android:strokeColor="#33FFFFFF" />
|
|
110
|
+
<path
|
|
111
|
+
android:fillColor="#00000000"
|
|
112
|
+
android:pathData="M19,29L89,29"
|
|
113
|
+
android:strokeWidth="0.8"
|
|
114
|
+
android:strokeColor="#33FFFFFF" />
|
|
115
|
+
<path
|
|
116
|
+
android:fillColor="#00000000"
|
|
117
|
+
android:pathData="M19,39L89,39"
|
|
118
|
+
android:strokeWidth="0.8"
|
|
119
|
+
android:strokeColor="#33FFFFFF" />
|
|
120
|
+
<path
|
|
121
|
+
android:fillColor="#00000000"
|
|
122
|
+
android:pathData="M19,49L89,49"
|
|
123
|
+
android:strokeWidth="0.8"
|
|
124
|
+
android:strokeColor="#33FFFFFF" />
|
|
125
|
+
<path
|
|
126
|
+
android:fillColor="#00000000"
|
|
127
|
+
android:pathData="M19,59L89,59"
|
|
128
|
+
android:strokeWidth="0.8"
|
|
129
|
+
android:strokeColor="#33FFFFFF" />
|
|
130
|
+
<path
|
|
131
|
+
android:fillColor="#00000000"
|
|
132
|
+
android:pathData="M19,69L89,69"
|
|
133
|
+
android:strokeWidth="0.8"
|
|
134
|
+
android:strokeColor="#33FFFFFF" />
|
|
135
|
+
<path
|
|
136
|
+
android:fillColor="#00000000"
|
|
137
|
+
android:pathData="M19,79L89,79"
|
|
138
|
+
android:strokeWidth="0.8"
|
|
139
|
+
android:strokeColor="#33FFFFFF" />
|
|
140
|
+
<path
|
|
141
|
+
android:fillColor="#00000000"
|
|
142
|
+
android:pathData="M29,19L29,89"
|
|
143
|
+
android:strokeWidth="0.8"
|
|
144
|
+
android:strokeColor="#33FFFFFF" />
|
|
145
|
+
<path
|
|
146
|
+
android:fillColor="#00000000"
|
|
147
|
+
android:pathData="M39,19L39,89"
|
|
148
|
+
android:strokeWidth="0.8"
|
|
149
|
+
android:strokeColor="#33FFFFFF" />
|
|
150
|
+
<path
|
|
151
|
+
android:fillColor="#00000000"
|
|
152
|
+
android:pathData="M49,19L49,89"
|
|
153
|
+
android:strokeWidth="0.8"
|
|
154
|
+
android:strokeColor="#33FFFFFF" />
|
|
155
|
+
<path
|
|
156
|
+
android:fillColor="#00000000"
|
|
157
|
+
android:pathData="M59,19L59,89"
|
|
158
|
+
android:strokeWidth="0.8"
|
|
159
|
+
android:strokeColor="#33FFFFFF" />
|
|
160
|
+
<path
|
|
161
|
+
android:fillColor="#00000000"
|
|
162
|
+
android:pathData="M69,19L69,89"
|
|
163
|
+
android:strokeWidth="0.8"
|
|
164
|
+
android:strokeColor="#33FFFFFF" />
|
|
165
|
+
<path
|
|
166
|
+
android:fillColor="#00000000"
|
|
167
|
+
android:pathData="M79,19L79,89"
|
|
168
|
+
android:strokeWidth="0.8"
|
|
169
|
+
android:strokeColor="#33FFFFFF" />
|
|
170
|
+
</vector>
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
xmlns:aapt="http://schemas.android.com/aapt"
|
|
3
|
-
android:width="108dp"
|
|
4
|
-
android:height="108dp"
|
|
5
|
-
android:viewportWidth="108"
|
|
6
|
-
android:viewportHeight="108">
|
|
7
|
-
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
|
8
|
-
<aapt:attr name="android:fillColor">
|
|
9
|
-
<gradient
|
|
10
|
-
android:endX="85.84757"
|
|
11
|
-
android:endY="92.4963"
|
|
12
|
-
android:startX="42.9492"
|
|
13
|
-
android:startY="49.59793"
|
|
14
|
-
android:type="linear">
|
|
15
|
-
<item
|
|
16
|
-
android:color="#44000000"
|
|
17
|
-
android:offset="0.0" />
|
|
18
|
-
<item
|
|
19
|
-
android:color="#00000000"
|
|
20
|
-
android:offset="1.0" />
|
|
21
|
-
</gradient>
|
|
22
|
-
</aapt:attr>
|
|
23
|
-
</path>
|
|
24
|
-
<path
|
|
25
|
-
android:fillColor="#FFFFFF"
|
|
26
|
-
android:fillType="nonZero"
|
|
27
|
-
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
|
28
|
-
android:strokeWidth="1"
|
|
29
|
-
android:strokeColor="#00000000" />
|
|
1
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
xmlns:aapt="http://schemas.android.com/aapt"
|
|
3
|
+
android:width="108dp"
|
|
4
|
+
android:height="108dp"
|
|
5
|
+
android:viewportWidth="108"
|
|
6
|
+
android:viewportHeight="108">
|
|
7
|
+
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
|
8
|
+
<aapt:attr name="android:fillColor">
|
|
9
|
+
<gradient
|
|
10
|
+
android:endX="85.84757"
|
|
11
|
+
android:endY="92.4963"
|
|
12
|
+
android:startX="42.9492"
|
|
13
|
+
android:startY="49.59793"
|
|
14
|
+
android:type="linear">
|
|
15
|
+
<item
|
|
16
|
+
android:color="#44000000"
|
|
17
|
+
android:offset="0.0" />
|
|
18
|
+
<item
|
|
19
|
+
android:color="#00000000"
|
|
20
|
+
android:offset="1.0" />
|
|
21
|
+
</gradient>
|
|
22
|
+
</aapt:attr>
|
|
23
|
+
</path>
|
|
24
|
+
<path
|
|
25
|
+
android:fillColor="#FFFFFF"
|
|
26
|
+
android:fillType="nonZero"
|
|
27
|
+
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
|
28
|
+
android:strokeWidth="1"
|
|
29
|
+
android:strokeColor="#00000000" />
|
|
30
30
|
</vector>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<background android:drawable="@drawable/ic_launcher_background" />
|
|
4
|
-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
|
5
|
-
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/ic_launcher_background" />
|
|
4
|
+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
|
5
|
+
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
|
6
6
|
</adaptive-icon>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<background android:drawable="@drawable/ic_launcher_background" />
|
|
4
|
-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
|
5
|
-
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/ic_launcher_background" />
|
|
4
|
+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
|
5
|
+
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
|
6
6
|
</adaptive-icon>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
distributionBase=GRADLE_USER_HOME
|
|
2
|
-
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
|
4
|
-
zipStoreBase=GRADLE_USER_HOME
|
|
1
|
+
distributionBase=GRADLE_USER_HOME
|
|
2
|
+
distributionPath=wrapper/dists
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
|
4
|
+
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|