Skip to content

Commit 9a518fa

Browse files
committed
[Feature] New project.
0 parents  commit 9a518fa

29 files changed

+661
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.iml
2+
.DS_Store
3+
/.externalNativeBuild/
4+
/.gradle/
5+
/.idea/
6+
/build/
7+
/captures/
8+
/local.properties

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build/

app/build.gradle

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2018 Zhang Hai <[email protected]>
3+
* All Rights Reserved.
4+
*/
5+
6+
apply plugin: 'com.android.application'
7+
8+
android {
9+
compileSdkVersion 27
10+
defaultConfig {
11+
applicationId "me.zhanghai.android.materialfilemanager"
12+
minSdkVersion 21
13+
targetSdkVersion 27
14+
versionCode 1
15+
versionName "1.0.0"
16+
}
17+
buildTypes {
18+
release {
19+
minifyEnabled false
20+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21+
}
22+
}
23+
}
24+
25+
dependencies {
26+
implementation fileTree(dir: 'libs', include: ['*.jar'])
27+
implementation 'com.android.support:appcompat-v7:27.1.1'
28+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

app/src/main/AndroidManifest.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2018 Zhang Hai <[email protected]>
5+
~ All Rights Reserved.
6+
-->
7+
8+
<manifest
9+
xmlns:android="http://schemas.android.com/apk/res/android"
10+
package="me.zhanghai.android.materialfilemanager">
11+
12+
<application
13+
android:allowBackup="true"
14+
android:fullBackupContent="true"
15+
android:icon="@mipmap/ic_launcher"
16+
android:label="@string/app_name"
17+
android:roundIcon="@mipmap/ic_launcher_round"
18+
android:supportsRtl="true"
19+
android:theme="@style/Theme.App" />
20+
</manifest>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2018 Zhang Hai <[email protected]>
5+
~ All Rights Reserved.
6+
-->
7+
8+
<vector
9+
xmlns:android="http://schemas.android.com/apk/res/android"
10+
xmlns:aapt="http://schemas.android.com/aapt"
11+
android:width="108dp"
12+
android:height="108dp"
13+
android:viewportHeight="108"
14+
android:viewportWidth="108">
15+
<path
16+
android:fillType="evenOdd"
17+
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
18+
android:strokeColor="#00000000"
19+
android:strokeWidth="1">
20+
<aapt:attr name="android:fillColor">
21+
<gradient
22+
android:endX="78.5885"
23+
android:endY="90.9159"
24+
android:startX="48.7653"
25+
android:startY="61.0927"
26+
android:type="linear">
27+
<item
28+
android:color="#44000000"
29+
android:offset="0.0" />
30+
<item
31+
android:color="#00000000"
32+
android:offset="1.0" />
33+
</gradient>
34+
</aapt:attr>
35+
</path>
36+
<path
37+
android:fillColor="#FFFFFF"
38+
android:fillType="nonZero"
39+
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
40+
android:strokeColor="#00000000"
41+
android:strokeWidth="1" />
42+
</vector>
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2018 Zhang Hai <[email protected]>
5+
~ All Rights Reserved.
6+
-->
7+
8+
<vector
9+
xmlns:android="http://schemas.android.com/apk/res/android"
10+
android:height="108dp"
11+
android:width="108dp"
12+
android:viewportHeight="108"
13+
android:viewportWidth="108">
14+
<path
15+
android:fillColor="#26A69A"
16+
android:pathData="M0,0h108v108h-108z" />
17+
<path
18+
android:fillColor="#00000000"
19+
android:pathData="M9,0L9,108"
20+
android:strokeColor="#33FFFFFF"
21+
android:strokeWidth="0.8" />
22+
<path
23+
android:fillColor="#00000000"
24+
android:pathData="M19,0L19,108"
25+
android:strokeColor="#33FFFFFF"
26+
android:strokeWidth="0.8" />
27+
<path
28+
android:fillColor="#00000000"
29+
android:pathData="M29,0L29,108"
30+
android:strokeColor="#33FFFFFF"
31+
android:strokeWidth="0.8" />
32+
<path
33+
android:fillColor="#00000000"
34+
android:pathData="M39,0L39,108"
35+
android:strokeColor="#33FFFFFF"
36+
android:strokeWidth="0.8" />
37+
<path
38+
android:fillColor="#00000000"
39+
android:pathData="M49,0L49,108"
40+
android:strokeColor="#33FFFFFF"
41+
android:strokeWidth="0.8" />
42+
<path
43+
android:fillColor="#00000000"
44+
android:pathData="M59,0L59,108"
45+
android:strokeColor="#33FFFFFF"
46+
android:strokeWidth="0.8" />
47+
<path
48+
android:fillColor="#00000000"
49+
android:pathData="M69,0L69,108"
50+
android:strokeColor="#33FFFFFF"
51+
android:strokeWidth="0.8" />
52+
<path
53+
android:fillColor="#00000000"
54+
android:pathData="M79,0L79,108"
55+
android:strokeColor="#33FFFFFF"
56+
android:strokeWidth="0.8" />
57+
<path
58+
android:fillColor="#00000000"
59+
android:pathData="M89,0L89,108"
60+
android:strokeColor="#33FFFFFF"
61+
android:strokeWidth="0.8" />
62+
<path
63+
android:fillColor="#00000000"
64+
android:pathData="M99,0L99,108"
65+
android:strokeColor="#33FFFFFF"
66+
android:strokeWidth="0.8" />
67+
<path
68+
android:fillColor="#00000000"
69+
android:pathData="M0,9L108,9"
70+
android:strokeColor="#33FFFFFF"
71+
android:strokeWidth="0.8" />
72+
<path
73+
android:fillColor="#00000000"
74+
android:pathData="M0,19L108,19"
75+
android:strokeColor="#33FFFFFF"
76+
android:strokeWidth="0.8" />
77+
<path
78+
android:fillColor="#00000000"
79+
android:pathData="M0,29L108,29"
80+
android:strokeColor="#33FFFFFF"
81+
android:strokeWidth="0.8" />
82+
<path
83+
android:fillColor="#00000000"
84+
android:pathData="M0,39L108,39"
85+
android:strokeColor="#33FFFFFF"
86+
android:strokeWidth="0.8" />
87+
<path
88+
android:fillColor="#00000000"
89+
android:pathData="M0,49L108,49"
90+
android:strokeColor="#33FFFFFF"
91+
android:strokeWidth="0.8" />
92+
<path
93+
android:fillColor="#00000000"
94+
android:pathData="M0,59L108,59"
95+
android:strokeColor="#33FFFFFF"
96+
android:strokeWidth="0.8" />
97+
<path
98+
android:fillColor="#00000000"
99+
android:pathData="M0,69L108,69"
100+
android:strokeColor="#33FFFFFF"
101+
android:strokeWidth="0.8" />
102+
<path
103+
android:fillColor="#00000000"
104+
android:pathData="M0,79L108,79"
105+
android:strokeColor="#33FFFFFF"
106+
android:strokeWidth="0.8" />
107+
<path
108+
android:fillColor="#00000000"
109+
android:pathData="M0,89L108,89"
110+
android:strokeColor="#33FFFFFF"
111+
android:strokeWidth="0.8" />
112+
<path
113+
android:fillColor="#00000000"
114+
android:pathData="M0,99L108,99"
115+
android:strokeColor="#33FFFFFF"
116+
android:strokeWidth="0.8" />
117+
<path
118+
android:fillColor="#00000000"
119+
android:pathData="M19,29L89,29"
120+
android:strokeColor="#33FFFFFF"
121+
android:strokeWidth="0.8" />
122+
<path
123+
android:fillColor="#00000000"
124+
android:pathData="M19,39L89,39"
125+
android:strokeColor="#33FFFFFF"
126+
android:strokeWidth="0.8" />
127+
<path
128+
android:fillColor="#00000000"
129+
android:pathData="M19,49L89,49"
130+
android:strokeColor="#33FFFFFF"
131+
android:strokeWidth="0.8" />
132+
<path
133+
android:fillColor="#00000000"
134+
android:pathData="M19,59L89,59"
135+
android:strokeColor="#33FFFFFF"
136+
android:strokeWidth="0.8" />
137+
<path
138+
android:fillColor="#00000000"
139+
android:pathData="M19,69L89,69"
140+
android:strokeColor="#33FFFFFF"
141+
android:strokeWidth="0.8" />
142+
<path
143+
android:fillColor="#00000000"
144+
android:pathData="M19,79L89,79"
145+
android:strokeColor="#33FFFFFF"
146+
android:strokeWidth="0.8" />
147+
<path
148+
android:fillColor="#00000000"
149+
android:pathData="M29,19L29,89"
150+
android:strokeColor="#33FFFFFF"
151+
android:strokeWidth="0.8" />
152+
<path
153+
android:fillColor="#00000000"
154+
android:pathData="M39,19L39,89"
155+
android:strokeColor="#33FFFFFF"
156+
android:strokeWidth="0.8" />
157+
<path
158+
android:fillColor="#00000000"
159+
android:pathData="M49,19L49,89"
160+
android:strokeColor="#33FFFFFF"
161+
android:strokeWidth="0.8" />
162+
<path
163+
android:fillColor="#00000000"
164+
android:pathData="M59,19L59,89"
165+
android:strokeColor="#33FFFFFF"
166+
android:strokeWidth="0.8" />
167+
<path
168+
android:fillColor="#00000000"
169+
android:pathData="M69,19L69,89"
170+
android:strokeColor="#33FFFFFF"
171+
android:strokeWidth="0.8" />
172+
<path
173+
android:fillColor="#00000000"
174+
android:pathData="M79,19L79,89"
175+
android:strokeColor="#33FFFFFF"
176+
android:strokeWidth="0.8" />
177+
</vector>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2018 Zhang Hai <[email protected]>
5+
~ All Rights Reserved.
6+
-->
7+
8+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
9+
<background android:drawable="@drawable/ic_launcher_background"/>
10+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
11+
</adaptive-icon>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2018 Zhang Hai <[email protected]>
5+
~ All Rights Reserved.
6+
-->
7+
8+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
9+
<background android:drawable="@drawable/ic_launcher_background"/>
10+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
11+
</adaptive-icon>
2.98 KB
Loading

0 commit comments

Comments
 (0)