Commit cc33c6ab authored by Mattia's avatar Mattia

Add icons

parent 14d9d937
No preview for this file type
...@@ -9,7 +9,7 @@ using Android.OS; ...@@ -9,7 +9,7 @@ using Android.OS;
namespace SampleApp.Droid namespace SampleApp.Droid
{ {
[Activity(Label = "SampleApp", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] [Activity(Label = "SampleApp", Icon = "@mipmap/AppIcon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{ {
protected override void OnCreate(Bundle savedInstanceState) protected override void OnCreate(Bundle savedInstanceState)
......
...@@ -9341,13 +9341,16 @@ namespace SampleApp.Droid ...@@ -9341,13 +9341,16 @@ namespace SampleApp.Droid
{ {
// aapt resource value: 0x7F0C0000 // aapt resource value: 0x7F0C0000
public const int icon = 2131492864; public const int AppIcon = 2131492864;
// aapt resource value: 0x7F0C0001 // aapt resource value: 0x7F0C0001
public const int icon_round = 2131492865; public const int icon = 2131492865;
// aapt resource value: 0x7F0C0002 // aapt resource value: 0x7F0C0002
public const int launcher_foreground = 2131492866; public const int icon_round = 2131492866;
// aapt resource value: 0x7F0C0003
public const int launcher_foreground = 2131492867;
static Mipmap() static Mipmap()
{ {
...@@ -79,16 +79,31 @@ ...@@ -79,16 +79,31 @@
<AndroidResource Include="Resources\values\colors.xml" /> <AndroidResource Include="Resources\values\colors.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" /> <AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon_round.xml" /> <AndroidResource Include="Resources\mipmap-anydpi-v26\icon_round.xml" />
<AndroidResource Include="Resources\mipmap-hdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-hdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-hdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-mdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-mdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-mdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-xhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-hdpi\AppIcon.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
<AndroidResource Include="Resources\mipmap-mdpi\AppIcon.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
<AndroidResource Include="Resources\mipmap-xhdpi\AppIcon.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
<AndroidResource Include="Resources\mipmap-xxhdpi\AppIcon.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
<AndroidResource Include="Resources\mipmap-xxxhdpi\AppIcon.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Resources\drawable\" /> <Folder Include="Resources\drawable\" />
......
No preview for this file type
{ {
"images": [ "images": [
{ {
"scale": "2x", "filename": "Icon-40.png",
"size": "20x20", "size": "20x20",
"idiom": "iphone", "scale": "2x",
"filename": "Icon40.png" "idiom": "iphone"
}, },
{ {
"scale": "3x", "filename": "Icon-60.png",
"size": "20x20", "size": "20x20",
"idiom": "iphone", "scale": "3x",
"filename": "Icon60.png" "idiom": "iphone"
}, },
{ {
"filename": "Icon-58.png",
"size": "29x29",
"scale": "2x", "scale": "2x",
"idiom": "iphone"
},
{
"filename": "Icon-87.png",
"size": "29x29", "size": "29x29",
"idiom": "iphone", "scale": "3x",
"filename": "Icon58.png" "idiom": "iphone"
}, },
{ {
"filename": "Icon-80.png",
"size": "40x40",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "Icon-120.png",
"size": "40x40",
"scale": "3x", "scale": "3x",
"idiom": "iphone"
},
{
"filename": "Icon-120-1.png",
"size": "60x60",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "Icon-180.png",
"size": "60x60",
"scale": "3x",
"idiom": "iphone"
},
{
"filename": "Icon-20.png",
"size": "20x20",
"scale": "1x",
"idiom": "ipad"
},
{
"filename": "Icon-40-1.png",
"size": "20x20",
"scale": "2x",
"idiom": "ipad"
},
{
"filename": "Icon-29.png",
"size": "29x29", "size": "29x29",
"idiom": "iphone", "scale": "1x",
"filename": "Icon87.png" "idiom": "ipad"
}, },
{ {
"filename": "Icon-58-1.png",
"size": "29x29",
"scale": "2x", "scale": "2x",
"idiom": "ipad"
},
{
"filename": "Icon-40-2.png",
"size": "40x40", "size": "40x40",
"idiom": "iphone", "scale": "1x",
"filename": "Icon80.png" "idiom": "ipad"
}, },
{ {
"scale": "3x", "filename": "Icon-80-1.png",
"size": "40x40", "size": "40x40",
"idiom": "iphone", "scale": "2x",
"filename": "Icon120.png" "idiom": "ipad"
},
{
"filename": "Icon-167.png",
"size": "83.5x83.5",
"scale": "2x",
"idiom": "ipad"
}, },
{ {
"filename": "Icon-76.png",
"size": "76x76",
"scale": "1x",
"idiom": "ipad"
},
{
"filename": "Icon-152.png",
"size": "76x76",
"scale": "2x", "scale": "2x",
"idiom": "ipad"
},
{
"filename": "Icon-1024.png",
"size": "1024x1024",
"scale": "1x",
"idiom": "ios-marketing"
},
{
"size": "60x60", "size": "60x60",
"idiom": "iphone", "scale": "2x",
"filename": "Icon120.png" "idiom": "car"
}, },
{ {
"scale": "3x",
"size": "60x60", "size": "60x60",
"idiom": "iphone", "scale": "3x",
"filename": "Icon180.png" "idiom": "car"
}, },
{ {
"scale": "1x", "role": "notificationCenter",
"size": "20x20", "size": "24x24",
"idiom": "ipad", "subtype": "38mm",
"filename": "Icon20.png" "scale": "2x",
"idiom": "watch"
}, },
{ {
"role": "notificationCenter",
"size": "27.5x27.5",
"subtype": "42mm",
"scale": "2x", "scale": "2x",
"size": "20x20", "idiom": "watch"
"idiom": "ipad",
"filename": "Icon40.png"
}, },
{ {
"scale": "1x", "role": "companionSettings",
"size": "29x29", "size": "29x29",
"idiom": "ipad", "scale": "2x",
"filename": "Icon29.png" "idiom": "watch"
}, },
{ {
"scale": "2x", "role": "companionSettings",
"size": "29x29", "size": "29x29",
"idiom": "ipad", "scale": "3x",
"filename": "Icon58.png" "idiom": "watch"
}, },
{ {
"scale": "1x", "role": "appLauncher",
"size": "40x40", "size": "40x40",
"idiom": "ipad", "subtype": "38mm",
"filename": "Icon40.png" "scale": "2x",
"idiom": "watch"
}, },
{ {
"role": "appLauncher",
"size": "44x44",
"subtype": "40mm",
"scale": "2x", "scale": "2x",
"size": "40x40", "idiom": "watch"
"idiom": "ipad", },
"filename": "Icon80.png" {
"role": "appLauncher",
"size": "50x50",
"subtype": "44mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "86x86",
"subtype": "38mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "98x98",
"subtype": "42mm",
"scale": "2x",
"idiom": "watch"
},
{
"role": "quickLook",
"size": "108x108",
"subtype": "44mm",
"scale": "2x",
"idiom": "watch"
}, },
{ {
"size": "1024x1024",
"scale": "1x", "scale": "1x",
"size": "76x76", "idiom": "watch-marketing"
"idiom": "ipad",
"filename": "Icon76.png"
}, },
{ {
"size": "16x16",
"scale": "1x",
"idiom": "mac"
},
{
"size": "16x16",
"scale": "2x", "scale": "2x",
"size": "76x76", "idiom": "mac"
"idiom": "ipad",
"filename": "Icon152.png"
}, },
{ {
"size": "32x32",
"scale": "1x",
"idiom": "mac"
},
{
"size": "32x32",
"scale": "2x", "scale": "2x",
"size": "83.5x83.5", "idiom": "mac"
"idiom": "ipad",
"filename": "Icon167.png"
}, },
{ {
"size": "128x128",
"scale": "1x", "scale": "1x",
"size": "1024x1024", "idiom": "mac"
"idiom": "ios-marketing", },
"filename": "Icon1024.png" {
"size": "128x128",
"scale": "2x",
"idiom": "mac"
},
{
"size": "256x256",
"scale": "1x",
"idiom": "mac"
},
{
"size": "256x256",
"scale": "2x",
"idiom": "mac"
},
{
"size": "512x512",
"scale": "1x",
"idiom": "mac"
},
{
"size": "512x512",
"scale": "2x",
"idiom": "mac"
} }
], ],
"properties": {},
"info": { "info": {
"version": 1, "version": 1,
"author": "xcode" "author": "xcode"
......
...@@ -81,45 +81,24 @@ ...@@ -81,45 +81,24 @@
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json">
<Visible>false</Visible> <Visible>false</Visible>
</ImageAsset> </ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon1024.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-40.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-60.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-87.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon180.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-58.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-80.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-120.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon167.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-120-1.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-180.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-20.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon152.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-40-1.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-29.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-58-1.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon120.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-40-2.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-80-1.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-76.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon87.png"> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-152.png" />
<Visible>false</Visible> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-167.png" />
</ImageAsset> <ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon-1024.png" />
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon80.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon76.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon60.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon58.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon40.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon29.png">
<Visible>false</Visible>
</ImageAsset>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Icon20.png">
<Visible>false</Visible>
</ImageAsset>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment