-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Microsoft.Android.Templates] Add icons to templates
Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1714750 Context: https://github.com/dotnet/maui/blob/8e4450cbc14932a6c74aeb8b7bfee9c94eca18b0/src/Templates/src/templates/maui-mobile/.template.config/ide.host.json#L3 The way to specify an icon for a `dotnet new` template is to specify an `icon` key within `.template.config/ide.host.json`.
- Loading branch information
Showing
12 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
src/Microsoft.Android.Templates/android-activity/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "cs", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/android-activity/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
src/Microsoft.Android.Templates/android-bindinglib/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "cs", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/android-bindinglib/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion
3
src/Microsoft.Android.Templates/android-layout/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "xml", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/android-layout/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
src/Microsoft.Android.Templates/android-wear/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "cs", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/android-wear/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
src/Microsoft.Android.Templates/android/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "cs", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/android/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
src/Microsoft.Android.Templates/androidlib/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/ide.host", | ||
"icon": "ide/icon.png", | ||
"appliesTo": "Android", | ||
"defaultItemExtension": "cs", | ||
"itemHierarchyPaths": [ "Android" ] | ||
} |
Binary file added
BIN
+2.62 KB
src/Microsoft.Android.Templates/androidlib/.template.config/ide/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.