Skip to content

Commit f7ae2bb

Browse files
committed
Initial commit
0 parents  commit f7ae2bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1704
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"allFiles": [
3+
{
4+
"file": "/storage/emulated/0/AndroidIDEProjects/ConvertToOld/app/src/main/java/hitmargin/adofai/converttoold/MainActivity.java",
5+
"selection": {
6+
"end": {
7+
"column": 0,
8+
"index": 0,
9+
"line": 0
10+
},
11+
"start": {
12+
"column": 0,
13+
"index": 0,
14+
"line": 0
15+
}
16+
}
17+
}
18+
],
19+
"selectedFile": "/storage/emulated/0/AndroidIDEProjects/ConvertToOld/app/src/main/java/hitmargin/adofai/converttoold/MainActivity.java"
20+
}

.gitignore

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Built application files
2+
*.apk
3+
*.aar
4+
*.ap_
5+
*.aab
6+
7+
# Files for the ART/Dalvik VM
8+
*.dex
9+
10+
# Java class files
11+
*.class
12+
13+
# Generated files
14+
/bin/
15+
/gen/
16+
/out/
17+
# Uncomment the following line in case you need and you don't have the release build type files in your app
18+
# Gradle files
19+
.gradle/
20+
/build/
21+
22+
# Local configuration file (sdk path, etc)
23+
local.properties
24+
25+
# Proguard folder generated by Eclipse
26+
proguard/
27+
28+
# Log Files
29+
*.log
30+
31+
# Android Studio Navigation editor temp files
32+
.navigation/
33+
34+
# Android Studio captures folder
35+
captures/
36+
37+
# IntelliJ
38+
*.iml
39+
.idea/workspace.xml
40+
.idea/tasks.xml
41+
.idea/gradle.xml
42+
.idea/assetWizardSettings.xml
43+
.idea/dictionaries
44+
.idea/libraries
45+
# Android Studio 3 in .gitignore file.
46+
.idea/caches
47+
.idea/modules.xml
48+
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
49+
.idea/navEditor.xml
50+
51+
# Keystore files
52+
# Uncomment the following lines if you do not want to check your keystore files in.
53+
#*.jks
54+
#*.keystore
55+
56+
# External native build folder generated in Android Studio 2.2 and later
57+
.externalNativeBuild
58+
.cxx/
59+
60+
# Google Services (e.g. APIs or Firebase)
61+
# google-services.json
62+
63+
# Freeline
64+
freeline.py
65+
freeline/
66+
freeline_project_description.json
67+
68+
# fastlane
69+
fastlane/report.xml
70+
fastlane/Preview.html
71+
fastlane/screenshots
72+
fastlane/test_output
73+
fastlane/readme.md
74+
75+
# Version control
76+
vcs.xml
77+
78+
# lint
79+
lint/intermediates/
80+
lint/generated/
81+
lint/outputs/
82+
lint/tmp/
83+
# lint/reports/

app/.gitignore

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

app/build.gradle.kts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
plugins {
3+
id("com.android.application")
4+
5+
}
6+
7+
android {
8+
namespace = "hitmargin.adofai.converttoold"
9+
compileSdk = 33
10+
11+
defaultConfig {
12+
applicationId = "hitmargin.adofai.converttoold"
13+
minSdk = 16
14+
targetSdk = 28
15+
versionCode = 124
16+
versionName = "1.2.4"
17+
18+
vectorDrawables {
19+
useSupportLibrary = true
20+
}
21+
}
22+
23+
compileOptions {
24+
sourceCompatibility = JavaVersion.VERSION_11
25+
targetCompatibility = JavaVersion.VERSION_11
26+
}
27+
28+
buildTypes {
29+
release {
30+
isMinifyEnabled = true
31+
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
32+
}
33+
}
34+
35+
buildFeatures {
36+
viewBinding = true
37+
38+
}
39+
40+
}
41+
42+
dependencies {
43+
44+
45+
implementation("com.google.android.material:material:1.9.0")
46+
implementation("androidx.appcompat:appcompat:1.6.1")
47+
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
48+
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
49+
}

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: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<manifest
4+
xmlns:android="http://schemas.android.com/apk/res/android">
5+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><!--所有文件访问权限~韩少-->
6+
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
7+
<application
8+
android:allowBackup="true"
9+
android:icon="@mipmap/ic_file_edit"
10+
android:roundIcon="@mipmap/ic_file_edit"
11+
android:label="@string/app_name"
12+
android:supportsRtl="true"
13+
android:theme="@style/Theme.MyAppTheme">
14+
<activity
15+
android:name="MainActivity"
16+
android:exported="true">
17+
<intent-filter>
18+
<action
19+
android:name="android.intent.action.MAIN" />
20+
<category
21+
android:name="android.intent.category.LAUNCHER" />
22+
</intent-filter>
23+
</activity>
24+
</application>
25+
</manifest>

0 commit comments

Comments
 (0)