diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index af7ac2335..2049b6bae 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -42,15 +42,22 @@ android:value="AEdPqrEAAAAI3a05VToCTlqBymJrbFGaKQMvF-bBAuLsOdavBA"/> + android:label="@string/app_name" + android:theme="@style/Theme.AntennaPod.Dark.Splash"> + + diff --git a/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java new file mode 100644 index 000000000..b92ac8577 --- /dev/null +++ b/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java @@ -0,0 +1,23 @@ +package de.danoeh.antennapod.activity; + +import android.content.Intent; +import android.os.Bundle; +import android.support.annotation.Nullable; +import android.support.v7.app.AppCompatActivity; + +/** + * Creator: vbarad + * Date: 2016-12-03 + * Project: AntennaPod + */ + +public class SplashActivity extends AppCompatActivity { + @Override + protected void onCreate(@Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + Intent intent = new Intent(this, MainActivity.class); + startActivity(intent); + finish(); + } +} diff --git a/core/src/main/res/drawable/bg_splash.xml b/core/src/main/res/drawable/bg_splash.xml new file mode 100644 index 000000000..dd66e3083 --- /dev/null +++ b/core/src/main/res/drawable/bg_splash.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index 9b20fdd02..4f228f8f1 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -239,6 +239,10 @@ @drawable/ic_cast_disconnect_white_36dp + +