Skip to content

Commit 775737a

Browse files
committed
Ignore XA4218 warnings on Android Wear. Update Text
1 parent bc6c8d8 commit 775737a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Microsoft.Android.Templates/android-wear/AndroidApp1.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<ApplicationId>com.companyname.AndroidApp1</ApplicationId>
1010
<ApplicationVersion>1</ApplicationVersion>
1111
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
12+
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);XA4218</MSBuildWarningsAsMessages>
1213
</PropertyGroup>
1314
<ItemGroup>
1415
<PackageReference Include="Xamarin.AndroidX.Wear" Version="1.2.0.5" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<string name="app_text">Hello, Android!</string>
3+
<string name="app_text">Hello, Android Wear!</string>
44
</resources>

src/Microsoft.Android.Templates/android-wear/Resources/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
This string is used for square devices and overridden by hello_world in
66
values-round/strings.xml for round devices.
77
-->
8-
<string name="app_text">Hello, Android!</string>
8+
<string name="app_text">Hello, Android Wear!</string>
99
</resources>

0 commit comments

Comments
 (0)