Add basic transitions/animations

Add animations to all LoadingFragment & a transition from LoadingFragment to MainFragment.
This commit is contained in:
OxygenCobalt
2020-09-04 14:39:51 -06:00
parent e59009a0fa
commit 139cf3c089
8 changed files with 22 additions and 9 deletions
+1
View File
@@ -13,6 +13,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:background="@drawable/ripple"
android:clickable="true"
android:focusable="true"
+2 -1
View File
@@ -14,7 +14,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:animateLayoutChanges="true">
<ProgressBar
android:id="@+id/loading_bar"
+1
View File
@@ -13,6 +13,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:background="@drawable/ripple"
android:clickable="true"
android:focusable="true"
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<fade xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@android:integer/config_longAnimTime">
</fade>
+1 -1
View File
@@ -7,7 +7,7 @@
<string name="error_no_music">No music found.</string>
<string name="error_music_load_failed">Music loading failed.</string>
<string name="error_no_perms">Auxio needs access to your music library.</string>
<string name="error_no_perms">Auxio needs permission to access to your music library.</string>
<string name="label_retry">Retry</string>
<string name="label_grant">Grant</string>