Fixed jumping icon on splash screen
This commit is contained in:
parent
d7cfa07c44
commit
1eb207ad0e
|
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
|
Loading…
Reference in New Issue