Animated splash screen (mind: preview for the circular loader seems broken in Android Studio, but works in app)
parent
0822c62eb8
commit
34c4951241
@ -1,9 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:drawable="@color/splash_background" /> |
||||
<item> |
||||
<bitmap |
||||
android:src="@mipmap/ic_logo" |
||||
android:gravity="center"/> |
||||
</item> |
||||
</layer-list> |
@ -0,0 +1,27 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:layout_width="match_parent" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:gravity="center" |
||||
android:orientation="vertical" |
||||
android:background="@color/color_background_dark" |
||||
android:layout_height="match_parent"> |
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
android:orientation="vertical" |
||||
android:gravity="center" |
||||
android:layout_weight="1" |
||||
android:layout_height="0dp"> |
||||
|
||||
<com.mikhaellopez.circularfillableloaders.CircularFillableLoaders |
||||
android:id="@+id/circularFillableLoaders" |
||||
android:layout_width="200dp" |
||||
android:layout_height="200dp" |
||||
android:src="@mipmap/ic_logo" |
||||
app:cfl_border="true" |
||||
app:cfl_border_width="4dp" |
||||
app:cfl_progress="80" |
||||
app:cfl_wave_amplitude="0.08" |
||||
app:cfl_wave_color="@color/color_primary_dark" /> |
||||
</LinearLayout> |
||||
</LinearLayout> |
Loading…
Reference in new issue