Skip to content

Commit e4f0d59

Browse files
Add support for writing android:roundIcon to Android manifest (#162)
Context: xamarin/XamarinVS#12895 This change is necessary for enabling adaptive icon support in the Android Manifest property page. It introduces a new attribute `android:roundIcon`. Co-authored-by: Jonathan Peppers <[email protected]>
1 parent fc3c2ac commit e4f0d59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Xamarin.Android.Tools.AndroidSdk/AndroidAppManifest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ public string? ApplicationIcon {
150150
set { application.SetAttributeValue (aNS + "icon", NullIfEmpty (value)); }
151151
}
152152

153+
public string? ApplicationRoundIcon {
154+
get { return (string?) application.Attribute (aNS + "roundIcon"); }
155+
set { application.SetAttributeValue (aNS + "roundIcon", NullIfEmpty (value)); }
156+
}
157+
153158
public string? ApplicationTheme {
154159
get { return (string?) application.Attribute (aNS + "theme"); }
155160
set { application.SetAttributeValue (aNS + "theme", NullIfEmpty (value)); }

0 commit comments

Comments
 (0)