Fix status bar flash when starting the app
This commit is contained in:
parent
2df677c947
commit
08434128b1
@ -42,7 +42,8 @@
|
|||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".Activities.RecordTransactionActivity"
|
android:name=".Activities.RecordTransactionActivity"
|
||||||
android:screenOrientation="portrait">
|
android:screenOrientation="portrait"
|
||||||
|
android:theme="@style/RecordTransactionTheme">
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="android.support.PARENT_ACTIVITY"
|
android:name="android.support.PARENT_ACTIVITY"
|
||||||
android:value="com.herbron.moodl.Activities.HomeActivity" />
|
android:value="com.herbron.moodl.Activities.HomeActivity" />
|
||||||
|
@ -251,7 +251,7 @@ public class Summary extends Fragment implements BalanceSwitchManagerInterface,
|
|||||||
|
|
||||||
private void generateSplashScreen()
|
private void generateSplashScreen()
|
||||||
{
|
{
|
||||||
loadingDialog = new Dialog(getActivity(), android.R.style.Theme_Black);
|
loadingDialog = new Dialog(getActivity(), android.R.style.Theme_Black_NoTitleBar_Fullscreen);
|
||||||
|
|
||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
|
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context="com.herbron.moodl.Activities.RecordTransactionActivity">
|
tools:context="com.herbron.moodl.Activities.RecordTransactionActivity">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -8,16 +8,12 @@
|
|||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
<item name="swirl_ridgeColor">@color/separationColor</item>
|
<item name="swirl_ridgeColor">@color/separationColor</item>
|
||||||
<item name="swirl_errorColor">@color/decrease</item>
|
<item name="swirl_errorColor">@color/decrease</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<!--<item name="android:windowTranslucentStatus">false</item>
|
<style name="RecordTransactionTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
<item name="android:windowTranslucentNavigation">true</item>
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
<item name="android:navigationBarColor">@color/transparent</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
<item name="android:actionBarStyle">@style/ThemeActionBar</item>
|
|
||||||
<item name="android:windowActionBarOverlay">true</item>-->
|
|
||||||
<!-- Support library compatibility -->
|
|
||||||
<!--<item name="actionBarStyle">@style/ThemeActionBar</item>
|
|
||||||
<item name="windowActionBarOverlay">true</item>-->
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="AppTheme.NoActionBar">
|
<style name="AppTheme.NoActionBar">
|
||||||
|
Loading…
Reference in New Issue
Block a user