安卓适配

This commit is contained in:
zhutao
2025-08-22 14:23:25 +08:00
parent 99a1ce601e
commit fdba41888b
40 changed files with 127 additions and 122 deletions

View File

@@ -6,7 +6,7 @@
<application <application
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="derma_flutter"> android:label="Demacare">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -1,122 +1,120 @@
{ {
"images" : [ "images": [
{ {
"size" : "20x20", "size": "20x20",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-20x20@2x.png", "filename": "icon-20@2x.png",
"scale" : "2x" "scale": "2x",
}, "platform": "ios"
{ },
"size" : "20x20", {
"idiom" : "iphone", "size": "20x20",
"filename" : "Icon-App-20x20@3x.png", "idiom": "universal",
"scale" : "3x" "filename": "icon-20@3x.png",
}, "scale": "3x",
{ "platform": "ios"
"size" : "29x29", },
"idiom" : "iphone", {
"filename" : "Icon-App-29x29@1x.png", "size": "29x29",
"scale" : "1x" "idiom": "universal",
}, "filename": "icon-29@2x.png",
{ "scale": "2x",
"size" : "29x29", "platform": "ios"
"idiom" : "iphone", },
"filename" : "Icon-App-29x29@2x.png", {
"scale" : "2x" "size": "29x29",
}, "idiom": "universal",
{ "filename": "icon-29@3x.png",
"size" : "29x29", "scale": "3x",
"idiom" : "iphone", "platform": "ios"
"filename" : "Icon-App-29x29@3x.png", },
"scale" : "3x" {
}, "size": "38x38",
{ "idiom": "universal",
"size" : "40x40", "filename": "icon-38@2x.png",
"idiom" : "iphone", "scale": "2x",
"filename" : "Icon-App-40x40@2x.png", "platform": "ios"
"scale" : "2x" },
}, {
{ "size": "38x38",
"size" : "40x40", "idiom": "universal",
"idiom" : "iphone", "filename": "icon-38@3x.png",
"filename" : "Icon-App-40x40@3x.png", "scale": "3x",
"scale" : "3x" "platform": "ios"
}, },
{ {
"size" : "60x60", "size": "40x40",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-60x60@2x.png", "filename": "icon-40@2x.png",
"scale" : "2x" "scale": "2x",
}, "platform": "ios"
{ },
"size" : "60x60", {
"idiom" : "iphone", "size": "40x40",
"filename" : "Icon-App-60x60@3x.png", "idiom": "universal",
"scale" : "3x" "filename": "icon-40@3x.png",
}, "scale": "3x",
{ "platform": "ios"
"size" : "20x20", },
"idiom" : "ipad", {
"filename" : "Icon-App-20x20@1x.png", "size": "60x60",
"scale" : "1x" "idiom": "universal",
}, "filename": "icon-60@2x.png",
{ "scale": "2x",
"size" : "20x20", "platform": "ios"
"idiom" : "ipad", },
"filename" : "Icon-App-20x20@2x.png", {
"scale" : "2x" "size": "60x60",
}, "idiom": "universal",
{ "filename": "icon-60@3x.png",
"size" : "29x29", "scale": "3x",
"idiom" : "ipad", "platform": "ios"
"filename" : "Icon-App-29x29@1x.png", },
"scale" : "1x" {
}, "size": "64x64",
{ "idiom": "universal",
"size" : "29x29", "filename": "icon-64@2x.png",
"idiom" : "ipad", "scale": "2x",
"filename" : "Icon-App-29x29@2x.png", "platform": "ios"
"scale" : "2x" },
}, {
{ "size": "64x64",
"size" : "40x40", "idiom": "universal",
"idiom" : "ipad", "filename": "icon-64@3x.png",
"filename" : "Icon-App-40x40@1x.png", "scale": "3x",
"scale" : "1x" "platform": "ios"
}, },
{ {
"size" : "40x40", "size": "68x68",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-40x40@2x.png", "filename": "icon-68@2x.png",
"scale" : "2x" "scale": "2x",
}, "platform": "ios"
{ },
"size" : "76x76", {
"idiom" : "ipad", "size": "76x76",
"filename" : "Icon-App-76x76@1x.png", "idiom": "universal",
"scale" : "1x" "filename": "icon-76@2x.png",
}, "scale": "2x",
{ "platform": "ios"
"size" : "76x76", },
"idiom" : "ipad", {
"filename" : "Icon-App-76x76@2x.png", "size": "83.5x83.5",
"scale" : "2x" "idiom": "universal",
}, "filename": "icon-83.5@2x.png",
{ "scale": "2x",
"size" : "83.5x83.5", "platform": "ios"
"idiom" : "ipad", },
"filename" : "Icon-App-83.5x83.5@2x.png", {
"scale" : "2x" "size": "1024x1024",
}, "idiom": "universal",
{ "filename": "icon-1024.png",
"size" : "1024x1024", "scale": "1x",
"idiom" : "ios-marketing", "platform": "ios"
"filename" : "Icon-App-1024x1024@1x.png", }
"scale" : "1x" ],
"info": {
"version": 1,
"author": "xcode"
} }
], }
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>Derma Flutter</string> <string>Demacare</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
@@ -24,6 +24,13 @@
<string>$(FLUTTER_BUILD_NUMBER)</string> <string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<!-- Access Photo Library, used for selecting images for skin analysis -->
<key>NSPhotoLibraryUsageDescription</key>
<string>We need access to your photo library so you can upload photos for skin analysis.</string>
<!-- Access Camera, used for taking photos for skin analysis -->
<key>NSCameraUsageDescription</key>
<string>We need access to your camera so you can take photos for skin analysis.</string>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LaunchScreen</string> <string>LaunchScreen</string>
<key>UIMainStoryboardFile</key> <key>UIMainStoryboardFile</key>