Skip to content

Commit

Permalink
Playground.Droid: Fix icon name and use AppCompat SplashScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
nmilcoff committed Mar 31, 2018
1 parent c027ff1 commit c83eb05
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion Projects/Playground/Playground.Droid/MainApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Android.App;
using Android.Runtime;
using MvvmCross.Droid.Support.V7.AppCompat;
using MvvmCross.Platforms.Android.Views;
using Playground.Core;

namespace Playground.Droid
Expand Down
10 changes: 5 additions & 5 deletions Projects/Playground/Playground.Droid/Playground.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@
<SubType>Designer</SubType>
</AndroidResource>
<AndroidResource Include="Resources\values\Strings.xml" />
<AndroidResource Include="Resources\mipmap-hdpi\Icon.png" />
<AndroidResource Include="Resources\mipmap-mdpi\Icon.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\Icon.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\Icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\Icon.png" />
<AndroidResource Include="Resources\mipmap-hdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-mdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" />
<AndroidResource Include="Resources\layout\SplashScreen.axml" />
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values-v21\styles.xml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@color/colorAccent">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down
4 changes: 2 additions & 2 deletions Projects/Playground/Playground.Droid/SplashScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Android.App;
using Android.Content.PM;
using MvvmCross.Platforms.Android.Views;
using MvvmCross.Droid.Support.V7.AppCompat;

namespace Playground.Droid
{
Expand All @@ -15,7 +15,7 @@ namespace Playground.Droid
, Theme = "@style/AppTheme.Splash"
, NoHistory = true
, ScreenOrientation = ScreenOrientation.Portrait)]
public class SplashScreen : MvxSplashScreenActivity
public class SplashScreen : MvxSplashScreenAppCompatActivity
{
public SplashScreen()
: base(Resource.Layout.SplashScreen)
Expand Down

0 comments on commit c83eb05

Please sign in to comment.