capacitor-dex-editor 0.0.38 → 0.0.39
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/android/src/main/AndroidManifest.xml +8 -0
- package/android/src/main/assets/availableSyntax.json +54 -0
- package/android/src/main/assets/c.json +42 -0
- package/android/src/main/assets/colors.json +21 -0
- package/android/src/main/assets/cpp.json +79 -0
- package/android/src/main/assets/dart.json +108 -0
- package/android/src/main/assets/java.json +46 -0
- package/android/src/main/assets/js.json +54 -0
- package/android/src/main/assets/json.json +33 -0
- package/android/src/main/assets/kotlin.json +53 -0
- package/android/src/main/assets/lua.json +54 -0
- package/android/src/main/assets/php.json +69 -0
- package/android/src/main/assets/python.json +87 -0
- package/android/src/main/assets/rust.json +139 -0
- package/android/src/main/assets/smali.json +131 -0
- package/android/src/main/assets/xml.json +96 -0
- package/android/src/main/java/com/aetherlink/dexeditor/DexEditorPluginPlugin.java +48 -0
- package/android/src/main/java/com/aetherlink/dexeditor/SmaliEditorActivity.java +205 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/EditView.java +4022 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/WordWrapLayout.java +275 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/buffer/BufferCache.java +113 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/buffer/GapBuffer.java +685 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/component/ClipboardPanel.java +1380 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/component/Magnifier.java +363 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/Candidate.java +52 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/CommentDef.java +47 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/LineResult.java +49 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/MHSyntaxHighlightEngine.java +841 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/Rule.java +53 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/highlight/Token.java +48 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/listener/OnTextChangedListener.java +6 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/utils/Pair.java +80 -0
- package/android/src/main/java/com/aetherlink/dexeditor/editor/utils/ScreenUtils.java +63 -0
- package/android/src/main/res/drawable/abc_text_cursor_material.xml +9 -0
- package/android/src/main/res/drawable/abc_text_select_handle_left_mtrl.png +0 -0
- package/android/src/main/res/drawable/abc_text_select_handle_middle_mtrl.png +0 -0
- package/android/src/main/res/drawable/abc_text_select_handle_right_mtrl.png +0 -0
- package/android/src/main/res/drawable/ic_arrow_back.xml +12 -0
- package/android/src/main/res/drawable/ic_copy.xml +11 -0
- package/android/src/main/res/drawable/ic_cut.xml +10 -0
- package/android/src/main/res/drawable/ic_delete.xml +12 -0
- package/android/src/main/res/drawable/ic_edit_white_24dp.xml +10 -0
- package/android/src/main/res/drawable/ic_goto.xml +10 -0
- package/android/src/main/res/drawable/ic_launcher_background.xml +186 -0
- package/android/src/main/res/drawable/ic_look_white_24dp.xml +11 -0
- package/android/src/main/res/drawable/ic_more.xml +10 -0
- package/android/src/main/res/drawable/ic_open_link.xml +11 -0
- package/android/src/main/res/drawable/ic_paste.xml +11 -0
- package/android/src/main/res/drawable/ic_redo_white_24dp.xml +10 -0
- package/android/src/main/res/drawable/ic_select.xml +11 -0
- package/android/src/main/res/drawable/ic_select_all.xml +10 -0
- package/android/src/main/res/drawable/ic_share.xml +11 -0
- package/android/src/main/res/drawable/ic_toggle_comment.xml +12 -0
- package/android/src/main/res/drawable/ic_translate.xml +10 -0
- package/android/src/main/res/drawable/ic_undo_white_24dp.xml +11 -0
- package/android/src/main/res/drawable/magnifier_bg.xml +5 -0
- package/android/src/main/res/drawable/popup_background.xml +8 -0
- package/android/src/main/res/drawable/ripple_effect.xml +9 -0
- package/android/src/main/res/drawable/selection_menu_background.xml +5 -0
- package/android/src/main/res/layout/custom_selection_menu.xml +44 -0
- package/android/src/main/res/layout/expand_button.xml +23 -0
- package/android/src/main/res/layout/item_autocomplete.xml +25 -0
- package/android/src/main/res/layout/magnifier_popup.xml +17 -0
- package/android/src/main/res/layout/menu_item.xml +30 -0
- package/android/src/main/res/layout/text_selection_menu.xml +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* MH-TextEditor - An Advanced and optimized TextEditor for android
|
|
3
|
+
* Copyright 2025, developer-krushna
|
|
4
|
+
*
|
|
5
|
+
* Redistribution and use in source and binary forms, with or without
|
|
6
|
+
* modification, are permitted provided that the following conditions are
|
|
7
|
+
* met:
|
|
8
|
+
*
|
|
9
|
+
* * Redistributions of source code must retain the above copyright
|
|
10
|
+
* notice, this list of conditions and the following disclaimer.
|
|
11
|
+
* * Redistributions in binary form must reproduce the above
|
|
12
|
+
* copyright notice, this list of conditions and the following disclaimer
|
|
13
|
+
* in the documentation and/or other materials provided with the
|
|
14
|
+
* distribution.
|
|
15
|
+
* * Neither the name of developer-krushna nor the names of its
|
|
16
|
+
* contributors may be used to endorse or promote products derived from
|
|
17
|
+
* this software without specific prior written permission.
|
|
18
|
+
*
|
|
19
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* Please contact Krushna by email modder-hub@zohomail.in if you need
|
|
33
|
+
* additional information or have any questions
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
package com.aetherlink.dexeditor.editor.highlight;
|
|
37
|
+
|
|
38
|
+
import java.util.Map;
|
|
39
|
+
import java.util.regex.Pattern;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Rule: Represents a single syntax highlighting rule. Each rule has a regex pattern, type (style
|
|
43
|
+
* name), optional group styles, and priority.
|
|
44
|
+
*/
|
|
45
|
+
public class Rule {
|
|
46
|
+
public String type; // Style/type name (maps to color)
|
|
47
|
+
public Pattern pattern; // Regex pattern to match
|
|
48
|
+
public Map<Integer, String> groupStyles; // Map of capture group → style
|
|
49
|
+
public int priority; // Rule application priority
|
|
50
|
+
|
|
51
|
+
public String lineBackground; // Special case store line background color
|
|
52
|
+
public Integer lineBackgroundColor = null; // parsed int color (cached)
|
|
53
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* MH-TextEditor - An Advanced and optimized TextEditor for android
|
|
3
|
+
* Copyright 2025, developer-krushna
|
|
4
|
+
*
|
|
5
|
+
* Redistribution and use in source and binary forms, with or without
|
|
6
|
+
* modification, are permitted provided that the following conditions are
|
|
7
|
+
* met:
|
|
8
|
+
*
|
|
9
|
+
* * Redistributions of source code must retain the above copyright
|
|
10
|
+
* notice, this list of conditions and the following disclaimer.
|
|
11
|
+
* * Redistributions in binary form must reproduce the above
|
|
12
|
+
* copyright notice, this list of conditions and the following disclaimer
|
|
13
|
+
* in the documentation and/or other materials provided with the
|
|
14
|
+
* distribution.
|
|
15
|
+
* * Neither the name of developer-krushna nor the names of its
|
|
16
|
+
* contributors may be used to endorse or promote products derived from
|
|
17
|
+
* this software without specific prior written permission.
|
|
18
|
+
*
|
|
19
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* Please contact Krushna by email modder-hub@zohomail.in if you need
|
|
33
|
+
* additional information or have any questions
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
package com.aetherlink.dexeditor.editor.highlight;
|
|
37
|
+
|
|
38
|
+
/** Token: Represents a final colored text span after resolving overlaps. */
|
|
39
|
+
public class Token {
|
|
40
|
+
int start, end; // Character range
|
|
41
|
+
int color; // Color value
|
|
42
|
+
|
|
43
|
+
Token(int s, int e, int c) {
|
|
44
|
+
start = s;
|
|
45
|
+
end = e;
|
|
46
|
+
color = c;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2009 The Android Open Source Project
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
package com.aetherlink.dexeditor.editor.utils;
|
|
17
|
+
|
|
18
|
+
import java.util.Objects;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Container to ease passing around a tuple of two objects. This object provides a sensible
|
|
22
|
+
* implementation of equals(), returning true if equals() is true on each of the contained objects.
|
|
23
|
+
*/
|
|
24
|
+
public class Pair<F, S> {
|
|
25
|
+
public F first; // first element
|
|
26
|
+
public S second; // second element
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Constructor for a Pair.
|
|
30
|
+
*
|
|
31
|
+
* @param first the first object in the Pair
|
|
32
|
+
* @param second the second object in the pair
|
|
33
|
+
*/
|
|
34
|
+
public Pair(F first, S second) {
|
|
35
|
+
this.first = first;
|
|
36
|
+
this.second = second;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Checks the two objects for equality by delegating to their respective {@link
|
|
41
|
+
* Object#equals(Object)} methods.
|
|
42
|
+
*
|
|
43
|
+
* @param o the {@link Pair} to which this one is to be checked for equality
|
|
44
|
+
* @return true if the underlying objects of the Pair are both considered equal
|
|
45
|
+
*/
|
|
46
|
+
@Override
|
|
47
|
+
public boolean equals(Object o) {
|
|
48
|
+
if (!(o instanceof Pair)) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
Pair<?, ?> p = (Pair<?, ?>) o;
|
|
52
|
+
return Objects.equals(p.first, first) && Objects.equals(p.second, second);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Compute a hash code using the hash codes of the underlying objects
|
|
57
|
+
*
|
|
58
|
+
* @return a hashcode of the Pair
|
|
59
|
+
*/
|
|
60
|
+
@Override
|
|
61
|
+
public int hashCode() {
|
|
62
|
+
return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@Override
|
|
66
|
+
public String toString() {
|
|
67
|
+
return "Pair{" + String.valueOf(first) + " " + String.valueOf(second) + "}";
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Convenience method for creating an appropriately typed pair.
|
|
72
|
+
*
|
|
73
|
+
* @param a the first object in the Pair
|
|
74
|
+
* @param b the second object in the pair
|
|
75
|
+
* @return a Pair that is templatized with the types of a and b
|
|
76
|
+
*/
|
|
77
|
+
public static <A, B> Pair<A, B> create(A a, B b) {
|
|
78
|
+
return new Pair<A, B>(a, b);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
package com.aetherlink.dexeditor.editor.utils;
|
|
2
|
+
|
|
3
|
+
import android.content.Context;
|
|
4
|
+
import android.util.DisplayMetrics;
|
|
5
|
+
import android.util.TypedValue;
|
|
6
|
+
import android.app.Activity;
|
|
7
|
+
import java.lang.reflect.Field;
|
|
8
|
+
|
|
9
|
+
public final class ScreenUtils {
|
|
10
|
+
|
|
11
|
+
public static int getStatusBarHeight(Context context) {
|
|
12
|
+
int statusBarHeight = 0;
|
|
13
|
+
try {
|
|
14
|
+
Class<?> c = Class.forName("com.android.internal.R$dimen");
|
|
15
|
+
Object obj = c.newInstance();
|
|
16
|
+
Field field = c.getField("status_bar_height");
|
|
17
|
+
statusBarHeight = context.getResources().getDimensionPixelSize(Integer.parseInt(field.get(obj).toString()));
|
|
18
|
+
} catch (Exception e) {
|
|
19
|
+
e.printStackTrace();
|
|
20
|
+
}
|
|
21
|
+
return statusBarHeight;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public static int getActionBarHeight(Context context) {
|
|
25
|
+
TypedValue typedValue = new TypedValue();
|
|
26
|
+
int actionBarHeight = 0;
|
|
27
|
+
if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, typedValue, true)) {
|
|
28
|
+
actionBarHeight = TypedValue.complexToDimensionPixelSize(typedValue.data,
|
|
29
|
+
context.getResources().getDisplayMetrics());
|
|
30
|
+
}
|
|
31
|
+
return actionBarHeight;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public static int getScreenWidth(Context context) {
|
|
35
|
+
DisplayMetrics dm = new DisplayMetrics();
|
|
36
|
+
((Activity) context).getWindowManager().getDefaultDisplay().getMetrics(dm);
|
|
37
|
+
return dm.widthPixels;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public static int getScreenHeight(Context context) {
|
|
41
|
+
DisplayMetrics dm = new DisplayMetrics();
|
|
42
|
+
((Activity) context).getWindowManager().getDefaultDisplay().getMetrics(dm);
|
|
43
|
+
return dm.heightPixels;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static int dip2px(Context context, float dpValue) {
|
|
47
|
+
final float scale = context.getResources().getDisplayMetrics().density;
|
|
48
|
+
return (int) (dpValue * scale + 0.5f);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public static int px2dip(Context context, float pxValue) {
|
|
52
|
+
final float scale = context.getResources().getDisplayMetrics().density;
|
|
53
|
+
return (int) (pxValue / scale + 0.5f);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public static int px2sp(float pxValue, float fontScale) {
|
|
57
|
+
return (int) (pxValue / fontScale + 0.5f);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public static int sp2px(float spValue, float fontScale) {
|
|
61
|
+
return (int) (spValue * fontScale + 0.5f);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#ff000000"
|
|
9
|
+
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" />
|
|
10
|
+
</vector>
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:autoMirrored="true"
|
|
6
|
+
android:viewportWidth="24.0"
|
|
7
|
+
android:viewportHeight="24.0">
|
|
8
|
+
<path
|
|
9
|
+
android:fillColor="#000000"
|
|
10
|
+
android:pathData="M16,1L4,1c-1.1,0 -2,0.9 -2,2v14h2L4,3h12L16,1zM19,5L8,5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h11c1.1,0 2,-0.9 2,-2L21,7c0,-1.1 -0.9,-2 -2,-2zM19,21L8,21L8,7h11v14z" />
|
|
11
|
+
</vector>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#ff000000"
|
|
9
|
+
android:pathData="M9.64,7.64c0.23,-0.5 0.36,-1.05 0.36,-1.64 0,-2.21 -1.79,-4 -4,-4S2,3.79 2,6s1.79,4 4,4c0.59,0 1.14,-0.13 1.64,-0.36L10,12l-2.36,2.36C7.14,14.13 6.59,14 6,14c-2.21,0 -4,1.79 -4,4s1.79,4 4,4 4,-1.79 4,-4c0,-0.59 -0.13,-1.14 -0.36,-1.64L12,14l7,7h3v-1L9.64,7.64zM6,8c-1.1,0 -2,-0.89 -2,-2s0.9,-2 2,-2 2,0.89 2,2 -0.9,2 -2,2zM6,20c-1.1,0 -2,-0.89 -2,-2s0.9,-2 2,-2 2,0.89 2,2 -0.9,2 -2,2zM12,12.5c-0.28,0 -0.5,-0.22 -0.5,-0.5s0.22,-0.5 0.5,-0.5 0.5,0.22 0.5,0.5 -0.22,0.5 -0.5,0.5zM19,3l-6,6 2,2 7,-7L22,3z" />
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector
|
|
3
|
+
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
4
|
+
android:height="24.0dip"
|
|
5
|
+
android:width="24.0dip"
|
|
6
|
+
android:viewportWidth="24.0"
|
|
7
|
+
android:viewportHeight="24.0">
|
|
8
|
+
<path
|
|
9
|
+
android:fillColor="#000000"
|
|
10
|
+
android:pathData="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z">
|
|
11
|
+
</path>
|
|
12
|
+
</vector>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:width="24dp"
|
|
4
|
+
android:height="24dp"
|
|
5
|
+
android:viewportHeight="24"
|
|
6
|
+
android:viewportWidth="24">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#FFFFFFFF"
|
|
9
|
+
android:pathData="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z" />
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#ff43a5f5"
|
|
9
|
+
android:pathData="M 2.53 19.21 L 9.11 12 L 2.53 4.79 L 3.94 3.24 L 11.94 12 L 3.94 20.75 L 2.53 19.21 Z M 12.06 19.21 L 18.64 12 L 12.06 4.79 L 13.47 3.24 L 21.47 12 L 13.47 20.75 L 12.06 19.21 Z" />
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
~ Copyright 2020 Google LLC
|
|
4
|
+
~
|
|
5
|
+
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
~ you may not use this file except in compliance with the License.
|
|
7
|
+
~ You may obtain a copy of the License at
|
|
8
|
+
~
|
|
9
|
+
~ https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
~
|
|
11
|
+
~ Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
~ See the License for the specific language governing permissions and
|
|
15
|
+
~ limitations under the License.
|
|
16
|
+
-->
|
|
17
|
+
|
|
18
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
19
|
+
android:width="108dp"
|
|
20
|
+
android:height="108dp"
|
|
21
|
+
android:viewportWidth="108"
|
|
22
|
+
android:viewportHeight="108">
|
|
23
|
+
<path
|
|
24
|
+
android:fillColor="#3DDC84"
|
|
25
|
+
android:pathData="M0,0h108v108h-108z" />
|
|
26
|
+
<path
|
|
27
|
+
android:fillColor="#00000000"
|
|
28
|
+
android:pathData="M9,0L9,108"
|
|
29
|
+
android:strokeWidth="0.8"
|
|
30
|
+
android:strokeColor="#33FFFFFF" />
|
|
31
|
+
<path
|
|
32
|
+
android:fillColor="#00000000"
|
|
33
|
+
android:pathData="M19,0L19,108"
|
|
34
|
+
android:strokeWidth="0.8"
|
|
35
|
+
android:strokeColor="#33FFFFFF" />
|
|
36
|
+
<path
|
|
37
|
+
android:fillColor="#00000000"
|
|
38
|
+
android:pathData="M29,0L29,108"
|
|
39
|
+
android:strokeWidth="0.8"
|
|
40
|
+
android:strokeColor="#33FFFFFF" />
|
|
41
|
+
<path
|
|
42
|
+
android:fillColor="#00000000"
|
|
43
|
+
android:pathData="M39,0L39,108"
|
|
44
|
+
android:strokeWidth="0.8"
|
|
45
|
+
android:strokeColor="#33FFFFFF" />
|
|
46
|
+
<path
|
|
47
|
+
android:fillColor="#00000000"
|
|
48
|
+
android:pathData="M49,0L49,108"
|
|
49
|
+
android:strokeWidth="0.8"
|
|
50
|
+
android:strokeColor="#33FFFFFF" />
|
|
51
|
+
<path
|
|
52
|
+
android:fillColor="#00000000"
|
|
53
|
+
android:pathData="M59,0L59,108"
|
|
54
|
+
android:strokeWidth="0.8"
|
|
55
|
+
android:strokeColor="#33FFFFFF" />
|
|
56
|
+
<path
|
|
57
|
+
android:fillColor="#00000000"
|
|
58
|
+
android:pathData="M69,0L69,108"
|
|
59
|
+
android:strokeWidth="0.8"
|
|
60
|
+
android:strokeColor="#33FFFFFF" />
|
|
61
|
+
<path
|
|
62
|
+
android:fillColor="#00000000"
|
|
63
|
+
android:pathData="M79,0L79,108"
|
|
64
|
+
android:strokeWidth="0.8"
|
|
65
|
+
android:strokeColor="#33FFFFFF" />
|
|
66
|
+
<path
|
|
67
|
+
android:fillColor="#00000000"
|
|
68
|
+
android:pathData="M89,0L89,108"
|
|
69
|
+
android:strokeWidth="0.8"
|
|
70
|
+
android:strokeColor="#33FFFFFF" />
|
|
71
|
+
<path
|
|
72
|
+
android:fillColor="#00000000"
|
|
73
|
+
android:pathData="M99,0L99,108"
|
|
74
|
+
android:strokeWidth="0.8"
|
|
75
|
+
android:strokeColor="#33FFFFFF" />
|
|
76
|
+
<path
|
|
77
|
+
android:fillColor="#00000000"
|
|
78
|
+
android:pathData="M0,9L108,9"
|
|
79
|
+
android:strokeWidth="0.8"
|
|
80
|
+
android:strokeColor="#33FFFFFF" />
|
|
81
|
+
<path
|
|
82
|
+
android:fillColor="#00000000"
|
|
83
|
+
android:pathData="M0,19L108,19"
|
|
84
|
+
android:strokeWidth="0.8"
|
|
85
|
+
android:strokeColor="#33FFFFFF" />
|
|
86
|
+
<path
|
|
87
|
+
android:fillColor="#00000000"
|
|
88
|
+
android:pathData="M0,29L108,29"
|
|
89
|
+
android:strokeWidth="0.8"
|
|
90
|
+
android:strokeColor="#33FFFFFF" />
|
|
91
|
+
<path
|
|
92
|
+
android:fillColor="#00000000"
|
|
93
|
+
android:pathData="M0,39L108,39"
|
|
94
|
+
android:strokeWidth="0.8"
|
|
95
|
+
android:strokeColor="#33FFFFFF" />
|
|
96
|
+
<path
|
|
97
|
+
android:fillColor="#00000000"
|
|
98
|
+
android:pathData="M0,49L108,49"
|
|
99
|
+
android:strokeWidth="0.8"
|
|
100
|
+
android:strokeColor="#33FFFFFF" />
|
|
101
|
+
<path
|
|
102
|
+
android:fillColor="#00000000"
|
|
103
|
+
android:pathData="M0,59L108,59"
|
|
104
|
+
android:strokeWidth="0.8"
|
|
105
|
+
android:strokeColor="#33FFFFFF" />
|
|
106
|
+
<path
|
|
107
|
+
android:fillColor="#00000000"
|
|
108
|
+
android:pathData="M0,69L108,69"
|
|
109
|
+
android:strokeWidth="0.8"
|
|
110
|
+
android:strokeColor="#33FFFFFF" />
|
|
111
|
+
<path
|
|
112
|
+
android:fillColor="#00000000"
|
|
113
|
+
android:pathData="M0,79L108,79"
|
|
114
|
+
android:strokeWidth="0.8"
|
|
115
|
+
android:strokeColor="#33FFFFFF" />
|
|
116
|
+
<path
|
|
117
|
+
android:fillColor="#00000000"
|
|
118
|
+
android:pathData="M0,89L108,89"
|
|
119
|
+
android:strokeWidth="0.8"
|
|
120
|
+
android:strokeColor="#33FFFFFF" />
|
|
121
|
+
<path
|
|
122
|
+
android:fillColor="#00000000"
|
|
123
|
+
android:pathData="M0,99L108,99"
|
|
124
|
+
android:strokeWidth="0.8"
|
|
125
|
+
android:strokeColor="#33FFFFFF" />
|
|
126
|
+
<path
|
|
127
|
+
android:fillColor="#00000000"
|
|
128
|
+
android:pathData="M19,29L89,29"
|
|
129
|
+
android:strokeWidth="0.8"
|
|
130
|
+
android:strokeColor="#33FFFFFF" />
|
|
131
|
+
<path
|
|
132
|
+
android:fillColor="#00000000"
|
|
133
|
+
android:pathData="M19,39L89,39"
|
|
134
|
+
android:strokeWidth="0.8"
|
|
135
|
+
android:strokeColor="#33FFFFFF" />
|
|
136
|
+
<path
|
|
137
|
+
android:fillColor="#00000000"
|
|
138
|
+
android:pathData="M19,49L89,49"
|
|
139
|
+
android:strokeWidth="0.8"
|
|
140
|
+
android:strokeColor="#33FFFFFF" />
|
|
141
|
+
<path
|
|
142
|
+
android:fillColor="#00000000"
|
|
143
|
+
android:pathData="M19,59L89,59"
|
|
144
|
+
android:strokeWidth="0.8"
|
|
145
|
+
android:strokeColor="#33FFFFFF" />
|
|
146
|
+
<path
|
|
147
|
+
android:fillColor="#00000000"
|
|
148
|
+
android:pathData="M19,69L89,69"
|
|
149
|
+
android:strokeWidth="0.8"
|
|
150
|
+
android:strokeColor="#33FFFFFF" />
|
|
151
|
+
<path
|
|
152
|
+
android:fillColor="#00000000"
|
|
153
|
+
android:pathData="M19,79L89,79"
|
|
154
|
+
android:strokeWidth="0.8"
|
|
155
|
+
android:strokeColor="#33FFFFFF" />
|
|
156
|
+
<path
|
|
157
|
+
android:fillColor="#00000000"
|
|
158
|
+
android:pathData="M29,19L29,89"
|
|
159
|
+
android:strokeWidth="0.8"
|
|
160
|
+
android:strokeColor="#33FFFFFF" />
|
|
161
|
+
<path
|
|
162
|
+
android:fillColor="#00000000"
|
|
163
|
+
android:pathData="M39,19L39,89"
|
|
164
|
+
android:strokeWidth="0.8"
|
|
165
|
+
android:strokeColor="#33FFFFFF" />
|
|
166
|
+
<path
|
|
167
|
+
android:fillColor="#00000000"
|
|
168
|
+
android:pathData="M49,19L49,89"
|
|
169
|
+
android:strokeWidth="0.8"
|
|
170
|
+
android:strokeColor="#33FFFFFF" />
|
|
171
|
+
<path
|
|
172
|
+
android:fillColor="#00000000"
|
|
173
|
+
android:pathData="M59,19L59,89"
|
|
174
|
+
android:strokeWidth="0.8"
|
|
175
|
+
android:strokeColor="#33FFFFFF" />
|
|
176
|
+
<path
|
|
177
|
+
android:fillColor="#00000000"
|
|
178
|
+
android:pathData="M69,19L69,89"
|
|
179
|
+
android:strokeWidth="0.8"
|
|
180
|
+
android:strokeColor="#33FFFFFF" />
|
|
181
|
+
<path
|
|
182
|
+
android:fillColor="#00000000"
|
|
183
|
+
android:pathData="M79,19L79,89"
|
|
184
|
+
android:strokeWidth="0.8"
|
|
185
|
+
android:strokeColor="#33FFFFFF" />
|
|
186
|
+
</vector>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:width="24dp"
|
|
4
|
+
android:height="24dp"
|
|
5
|
+
android:viewportHeight="24"
|
|
6
|
+
android:viewportWidth="24">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#FFFFFFFF"
|
|
9
|
+
android:pathData="M12,9A3,3 0,0 0,9 12A3,3 0,0 0,12 15A3,3 0,0 0,15 12A3,3 0,0 0,12 9M12,17A5,5 0,0 1,7 12A5,5 0,0 1,12 7A5,5 0,0 1,17 12A5,5 0,0 1,12 17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"/>
|
|
10
|
+
|
|
11
|
+
</vector>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#000000"
|
|
9
|
+
android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z" />
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#000000"
|
|
9
|
+
android:pathData="M3.9,12c0,-1.71 1.39,-3.1 3.1,-3.1h4L11,7L7,7c-2.76,0 -5,2.24 -5,5s2.24,5 5,5h4v-1.9L7,15.1c-1.71,0 -3.1,-1.39 -3.1,-3.1zM8,13h8v-2L8,11v2zM17,7h-4v1.9h4c1.71,0 3.1,1.39 3.1,3.1s-1.39,3.1 -3.1,3.1h-4L13,17h4c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5z" />
|
|
10
|
+
</vector>
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- This is a modified version of AXMLPrinter2(By Google) library. Check out how many changes are made at https://github.com/developer-krushna/AXMLPrinter by (@developer-krushna) -->
|
|
3
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
4
|
+
android:height="24dp"
|
|
5
|
+
android:width="24dp"
|
|
6
|
+
android:viewportWidth="24.0"
|
|
7
|
+
android:viewportHeight="24.0">
|
|
8
|
+
<path
|
|
9
|
+
android:fillColor="#ff000000"
|
|
10
|
+
android:pathData="M19,2h-4.18C14.4,0.84 13.3,0 12,0c-1.3,0 -2.4,0.84 -2.82,2L5,2c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2L21,4c0,-1.1 -0.9,-2 -2,-2zM12,2c0.55,0 1,0.45 1,1s-0.45,1 -1,1 -1,-0.45 -1,-1 0.45,-1 1,-1zM19,20L5,20L5,4h2v3h10L17,4h2v16z" />
|
|
11
|
+
</vector>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:width="24dp"
|
|
4
|
+
android:height="24dp"
|
|
5
|
+
android:viewportHeight="24"
|
|
6
|
+
android:viewportWidth="24">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#FFFFFFFF"
|
|
9
|
+
android:pathData="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z"/>
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#000000"
|
|
9
|
+
android:pathData="M 8 3 L 8 4.76 L 11.19 4.76 L 11.17 18.37 L 8 18.37 L 8 20.17 L 16 20.17 L 16 18.37 L 12.8 18.38 L 12.82 4.77 L 16 4.76 L 16 3 L 8 3 Z M 5.9 13.94 L 3.3 11.34 L 5.9 8.74 L 4.5 7.34 L 0.5 11.34 L 4.5 15.34 L 5.9 13.94 Z M 18.1 13.94 L 20.7 11.34 L 18.1 8.74 L 19.5 7.34 L 23.5 11.34 L 19.5 15.34 L 18.1 13.94 Z" />
|
|
10
|
+
</vector>
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#000000"
|
|
9
|
+
android:pathData="M3,5h2L5,3c-1.1,0 -2,0.9 -2,2zM3,13h2v-2L3,11v2zM7,21h2v-2L7,19v2zM3,9h2L5,7L3,7v2zM13,3h-2v2h2L13,3zM19,3v2h2c0,-1.1 -0.9,-2 -2,-2zM5,21v-2L3,19c0,1.1 0.9,2 2,2zM3,17h2v-2L3,15v2zM9,3L7,3v2h2L9,3zM11,21h2v-2h-2v2zM19,13h2v-2h-2v2zM19,21c1.1,0 2,-0.9 2,-2h-2v2zM19,9h2L21,7h-2v2zM19,17h2v-2h-2v2zM15,21h2v-2h-2v2zM15,5h2L17,3h-2v2zM7,17h10L17,7L7,7v10zM9,9h6v6L9,15L9,9z" />
|
|
10
|
+
</vector>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:width="24dp"
|
|
4
|
+
android:height="24dp"
|
|
5
|
+
android:viewportWidth="24.0"
|
|
6
|
+
android:viewportHeight="24.0">
|
|
7
|
+
|
|
8
|
+
<path
|
|
9
|
+
android:pathData="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"
|
|
10
|
+
android:fillColor="#000000" />
|
|
11
|
+
</vector>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
android:height="24dp"
|
|
4
|
+
android:width="24dp"
|
|
5
|
+
android:viewportWidth="1024.0"
|
|
6
|
+
android:viewportHeight="1024.0">
|
|
7
|
+
<path
|
|
8
|
+
android:fillColor="#000000"
|
|
9
|
+
android:pathData="M 227 400 C 226 393 225 388 224 382 C 224 376 223 372 223 366 C 223 351 226 339 232 335 C 234 329 242 326 250 326 L 393 326 L 439 148 C 467 150 487 154 497 160 C 507 165 512 173 512 180 L 512 191 L 475 326 L 646 326 L 695 148 C 724 150 743 154 752 160 C 762 165 768 173 768 180 C 768 185 767 188 766 191 L 731 326 L 853 326 C 855 333 856 338 856 343 L 856 361 C 856 376 853 387 849 391 C 843 398 838 400 830 400 L 711 400 L 654 607 L 798 607 C 799 614 800 621 801 625 C 802 632 802 637 802 642 C 802 669 793 682 775 682 L 634 682 L 582 876 C 553 874 534 870 524 865 C 514 859 510 852 510 843 C 510 840 510 837 512 835 L 552 682 L 378 682 L 327 876 C 299 874 280 870 268 866 C 257 859 253 853 253 843 C 253 842 253 841 254 839 C 255 838 255 837 255 835 L 296 683 L 173 683 C 171 676 169 668 169 664 L 169 646 C 169 632 172 621 177 615 C 181 610 187 607 196 607 L 316 607 L 371 400 L 227 400 L 227 400 Z M 398 607 L 572 607 L 628 400 L 455 400 L 398 607 Z" />
|
|
10
|
+
</vector>
|
|
11
|
+
|
|
12
|
+
|