Skip to content

Commit

Permalink
[HelloWorld] Update for most recent lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcollins committed Jul 12, 2016
1 parent c06b120 commit 855682e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
9 changes: 9 additions & 0 deletions HelloWorld/HelloWorld.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
using System;

using Android.App;
using Android.Content;
using Android.OS;

namespace Mono.Samples.HelloWorld
{
[Activity (Label = "Hello World Demo", MainLauncher = true)]
[IntentFilter(new[] { Intent.ActionView },
Categories = new[] {
Intent.CategoryDefault,
Intent.CategoryBrowsable
},
DataScheme = "http",
DataHost = "example.com"
)]
public class HelloAndroid : Activity
{
protected override void OnCreate (Bundle savedInstanceState)
Expand Down
11 changes: 3 additions & 8 deletions HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,16 @@
<AndroidResource Include="Resources\drawable-mdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xhdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xxxhdpi\icon.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ItemGroup>
<Folder Include="Resources\drawable-hdpi\" />
<Folder Include="Resources\drawable-ldpi\" />
<Folder Include="Resources\drawable-mdpi\" />
<Folder Include="Resources\drawable-xhdpi\" />
<Folder Include="Resources\drawable-xxhdpi\" />
<Folder Include="Resources\drawable-xxxhdpi\" />
</ItemGroup>
<ItemGroup>
<None Include="Properties\AndroidManifest.xml" />
Expand Down
Binary file modified HelloWorld/Resources/drawable-hdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified HelloWorld/Resources/drawable-ldpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified HelloWorld/Resources/drawable-mdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified HelloWorld/Resources/drawable-xhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified HelloWorld/Resources/drawable-xxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HelloWorld/Resources/drawable-xxxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 855682e

Please sign in to comment.