Fixed jumping icon on splash screen

This commit is contained in:
ByteHamster 2020-03-20 02:27:27 +01:00
parent d7cfa07c44
commit 1eb207ad0e
3 changed files with 2 additions and 7 deletions

View File

@ -45,6 +45,7 @@ public class SplashActivity extends AppCompatActivity {
.subscribe(() -> { .subscribe(() -> {
Intent intent = new Intent(SplashActivity.this, MainActivity.class); Intent intent = new Intent(SplashActivity.this, MainActivity.class);
startActivity(intent); startActivity(intent);
overridePendingTransition(0, 0);
finish(); finish();
}); });
} }

View File

@ -9,6 +9,6 @@
android:layout_height="24dp" android:layout_height="24dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_margin="36dp" android:layout_marginBottom="96dp"
android:id="@+id/progressBar"/> android:id="@+id/progressBar"/>
</RelativeLayout> </RelativeLayout>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.AntennaPod.Splash" parent="Theme.Base.AntennaPod.Splash">
<item name="android:windowSplashscreenContent">@drawable/bg_splash</item>
</style>
</resources>