-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata.xml
More file actions
127 lines (110 loc) · 4.24 KB
/
data.xml
File metadata and controls
127 lines (110 loc) · 4.24 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<!--
GitCode Viewer Configuration Manifest
Demonstrates XML Syntax: Elements, Attributes, Namespaces, CDATA
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.xdnote.codeviewer"
versionCode="1"
versionName="1.0.0">
<!-- Application Metadata -->
<meta-data
android:name="created_by"
android:value="CodeViewer Team" />
<meta-data
android:name="description"
android:value="A high-performance offline Git client" />
<!-- Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Theme Configuration -->
<style-config>
<theme id="default" mode="system">
<color name="primary">#3b82f6</color>
<color name="secondary">#8b5cf6</color>
<color name="background">#0f172a</color>
<font family="Roboto" size="14" />
</theme>
<theme id="high-contrast" mode="light">
<color name="primary">#000000</color>
<color name="background">#ffffff</color>
</theme>
</style-config>
<!-- Supported Languages List -->
<languages>
<language id="js" name="JavaScript">
<extension>.js</extension>
<extension>.jsx</extension>
<highlighting>true</highlighting>
</language>
<language id="py" name="Python">
<extension>.py</extension>
<interpreter path="/usr/bin/python3" />
</language>
<language id="xml" name="XML">
<extension>.xml</extension>
<extension>.xsd</extension>
<validation>strict</validation>
</language>
<!-- Example with CDATA for embedded script -->
<language id="html" name="HTML">
<template>
<![CDATA[
<html>
<head><title>New File</title></head>
<body>
<h1>Welcome</h1>
</body>
</html>
]]>
</template>
</language>
</languages>
<!-- Application Components -->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.CodeViewer">
<activity
android:name=".MainActivity"
android:exported="true"
android:configChanges="orientation|screenSize|uiMode">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SettingsActivity" />
<activity android:name=".ViewerActivity" />
<!-- File Provider for sharing files -->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
</application>
<!-- Repository Configuration -->
<repositories>
<repo url="https://github.com/facebook/react.git" branch="main">
<local-path>/data/repos/react</local-path>
<auto-sync>true</auto-sync>
<exclude-patterns>
<pattern>node_modules/*</pattern>
<pattern>dist/*</pattern>
</exclude-patterns>
</repo>
<repo url="https://github.com/torvalds/linux.git">
<local-path>/data/repos/linux</local-path>
<auto-sync>false</auto-sync> <!-- Manual sync only -->
</repo>
</repositories>
</manifest>