Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 3450e6b

Browse files
committed
Added annotations to sample projects and component
1 parent c9b21b9 commit 3450e6b

File tree

46 files changed

+187
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+187
-3
lines changed

animated-vector-drawable/component/component.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ samples:
1818
path: ../samples/VectorDrawableSample.sln
1919
removeProjects:
2020
- Animated-Vector-Drawable
21+
- Annotations
2122
- Compat
2223
- Core-UI
2324
- Core-Utils
@@ -29,6 +30,7 @@ samples:
2930
- project: VectorDrawableSample
3031
packages:
3132
- Xamarin.Android.Support.Animated.Vector.Drawable
33+
- Xamarin.Android.Support.Annotations
3234
- Xamarin.Android.Support.Compat
3335
- Xamarin.Android.Support.Core.UI
3436
- Xamarin.Android.Support.Core.Utils

animated-vector-drawable/samples/VectorDrawableSample.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vector-Drawable", "..\..\su
1919
EndProject
2020
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "V7-AppCompat", "..\..\appcompat-v7\source\V7-AppCompat.csproj", "{B4ED245B-BBD8-4549-9990-476A36AAD381}"
2121
EndProject
22+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Annotations", "..\..\support-annotations\source\Annotations.csproj", "{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}"
23+
EndProject
2224
Global
2325
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2426
Debug|Any CPU = Debug|Any CPU
@@ -61,5 +63,9 @@ Global
6163
{B4ED245B-BBD8-4549-9990-476A36AAD381}.Debug|Any CPU.Build.0 = Debug|Any CPU
6264
{B4ED245B-BBD8-4549-9990-476A36AAD381}.Release|Any CPU.ActiveCfg = Release|Any CPU
6365
{B4ED245B-BBD8-4549-9990-476A36AAD381}.Release|Any CPU.Build.0 = Release|Any CPU
66+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
67+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
68+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
69+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.Build.0 = Release|Any CPU
6470
EndGlobalSection
6571
EndGlobal

animated-vector-drawable/samples/VectorDrawableSample/VectorDrawableSample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@
101101
<Project>{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}</Project>
102102
<Name>Vector-Drawable</Name>
103103
</ProjectReference>
104+
<ProjectReference Include="..\..\..\support-annotations\source\Annotations.csproj">
105+
<Project>{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}</Project>
106+
<Name>Annotations</Name>
107+
</ProjectReference>
104108
</ItemGroup>
105109
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
106110
</Project>

appcompat-v7/component/component.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ samples:
1717
- name: "Android Support Sample"
1818
path: ../samples/AndroidSupportSample.sln
1919
removeProjects:
20+
- Annotations
2021
- Compat
2122
- Core-UI
2223
- Core-Utils
@@ -28,6 +29,7 @@ samples:
2829
installNuGets:
2930
- project: AndroidSupportSample
3031
packages:
32+
- Xamarin.Android.Support.Annotations
3133
- Xamarin.Android.Support.Compat
3234
- Xamarin.Android.Support.Core.UI
3335
- Xamarin.Android.Support.Core.Utils

appcompat-v7/samples/AndroidSupportSample.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Media-Compat", "..\..\suppo
2121
EndProject
2222
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vector-Drawable", "..\..\support-vector-drawable\source\Vector-Drawable.csproj", "{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}"
2323
EndProject
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Annotations", "..\..\support-annotations\source\Annotations.csproj", "{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}"
25+
EndProject
2426
Global
2527
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2628
Debug|Any CPU = Debug|Any CPU
@@ -67,5 +69,9 @@ Global
6769
{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}.Debug|Any CPU.Build.0 = Debug|Any CPU
6870
{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}.Release|Any CPU.ActiveCfg = Release|Any CPU
6971
{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}.Release|Any CPU.Build.0 = Release|Any CPU
72+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
73+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
74+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
75+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.Build.0 = Release|Any CPU
7076
EndGlobalSection
7177
EndGlobal

appcompat-v7/samples/AndroidSupportSample/AndroidSupportSample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@
128128
<Project>{418B64BA-2BAC-4B92-8888-CAFEAAF7E860}</Project>
129129
<Name>Vector-Drawable</Name>
130130
</ProjectReference>
131+
<ProjectReference Include="..\..\..\support-annotations\source\Annotations.csproj">
132+
<Project>{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}</Project>
133+
<Name>Annotations</Name>
134+
</ProjectReference>
131135
</ItemGroup>
132136
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
133137
</Project>

cardview-v7/component/component.template.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ samples:
1717
- name: "Android Support Sample"
1818
path: ../samples/AndroidSupportSample.sln
1919
removeProjects:
20+
- Annotations
2021
- V7-CardView
2122
installNuGets:
2223
- project: AndroidSupportSample
23-
packages: Xamarin.Android.Support.v7.CardView
24+
packages:
25+
- Xamarin.Android.Support.Annotations
26+
- Xamarin.Android.Support.v7.CardView
2427
removeNodes:
2528
- "//xNS:Import[contains (@Project, 'Xamarin.Android.Support.Tasks.VectorDrawable.targets')]"
2629
- "//xNS:Import[contains (@Project, 'Xamarin.Android.Support.Vector.Drawable.targets')]"

cardview-v7/samples/AndroidSupportSample.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroidSupportSample.UITest
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "V7-CardView", "..\source\V7-CardView.csproj", "{E9848EF1-14E6-4144-95A0-926A52F301B5}"
99
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Annotations", "..\..\support-annotations\source\Annotations.csproj", "{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}"
11+
EndProject
1012
Global
1113
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1214
Debug|Any CPU = Debug|Any CPU
@@ -25,5 +27,9 @@ Global
2527
{E9848EF1-14E6-4144-95A0-926A52F301B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
2628
{E9848EF1-14E6-4144-95A0-926A52F301B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
2729
{E9848EF1-14E6-4144-95A0-926A52F301B5}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}.Release|Any CPU.Build.0 = Release|Any CPU
2834
EndGlobalSection
2935
EndGlobal

cardview-v7/samples/AndroidSupportSample/AndroidSupportSample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
<Project>{E9848EF1-14E6-4144-95A0-926A52F301B5}</Project>
7373
<Name>V7-CardView</Name>
7474
</ProjectReference>
75+
<ProjectReference Include="..\..\..\support-annotations\source\Annotations.csproj">
76+
<Project>{EFC85AD8-90A7-4C98-8CEA-A875213DA5DC}</Project>
77+
<Name>Annotations</Name>
78+
</ProjectReference>
7579
</ItemGroup>
7680

7781
</Project>

customtabs/component/component.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ samples:
1717
- name: "Chrome Custom Tabs Sample"
1818
path: ../samples/ChromeCustomTabsSample.sln
1919
removeProjects:
20+
- Annotations
2021
- Compat
2122
- CustomTabs
2223
installNuGets:
2324
- project: ChromeCustomTabsSample
2425
packages:
26+
- Xamarin.Android.Support.Annotations
2527
- Xamarin.Android.Support.Compat
2628
- Xamarin.Android.Support.CustomTabs
2729
removeNodes:

0 commit comments

Comments
 (0)