Skip to content

Commit

Permalink
[CommonSampleLibrary] Use App.Activity over FragmentActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcollins committed Jun 9, 2015
1 parent 4368d6a commit fc7aa3f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
3 changes: 1 addition & 2 deletions CommonSampleLibrary/Activities/SampleActivityBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.V4.App;

namespace CommonSampleLibrary
{
/**
* Base launcher activity, to handle most of the common plumbing for samples.
*/
[Activity (Label = "SampleActivityBase")]
public class SampleActivityBase : FragmentActivity
public class SampleActivityBase : Activity
{
public virtual string TAG {
get { return "SampleActivityBase"; }
Expand Down
8 changes: 1 addition & 7 deletions CommonSampleLibrary/CommonSampleLibrary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidResgenClass>Resource</AndroidResgenClass>
<AssemblyName>CommonSampleLibrary</AssemblyName>
<TargetFrameworkVersion>v2.3</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0.3</TargetFrameworkVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
Expand Down Expand Up @@ -43,9 +43,6 @@
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Mono.Android" />
<Reference Include="Xamarin.Android.Support.v4">
<HintPath>packages\Xamarin.Android.Support.v4.20.0.0.4\lib\MonoAndroid10\Xamarin.Android.Support.v4.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Resources\Resource.designer.cs" />
Expand All @@ -61,7 +58,4 @@
<AndroidResource Include="Resources\values\Strings.xml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion CommonSampleLibrary/Logger/LogFragment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
using Android.Widget;
using Android.Graphics;
using Android.Text;
using Android.Support.V4.App;

namespace CommonSampleLibrary
{
Expand Down
4 changes: 0 additions & 4 deletions CommonSampleLibrary/packages.config

This file was deleted.

0 comments on commit fc7aa3f

Please sign in to comment.