Pq пре 3 година
родитељ
комит
66512a9e88

+ 1 - 1
student/src/main/res/values/styles.xml

@@ -9,7 +9,7 @@
 
     <style name="SplashTheme" parent="AppTheme">
         <item name="android:windowBackground">@drawable/bg_splash</item>
-        <item name="android:statusBarColor">@color/colorPrimary</item>
+        <item name="android:statusBarColor">@color/transparent</item>
     </style>
 
 

+ 5 - 4
teacher/src/main/res/layout/activity_splash_layout.xml

@@ -1,10 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:background="@color/white">
 
-    <LinearLayout
+    <FrameLayout
+        android:layout_gravity="center"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_centerInParent="true"
@@ -15,6 +16,6 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:background="@drawable/bg_splash" />
-    </LinearLayout>
+    </FrameLayout>
 
-</RelativeLayout>
+</FrameLayout>

+ 1 - 1
teacher/src/main/res/values/styles.xml

@@ -10,7 +10,7 @@
 
     <style name="SplashTheme" parent="AppTheme">
         <item name="android:windowBackground">@drawable/bg_splash</item>
-        <item name="android:statusBarColor">@color/colorPrimary</item>
+        <item name="android:statusBarColor">@color/transparent</item>
         <item name="android:windowIsTranslucent">false</item>
     </style>