diff --git a/app/src/main/java/com/shabinder/musicForEveryone/splash/SplashScreen.kt b/app/src/main/java/com/shabinder/musicForEveryone/splash/SplashScreen.kt new file mode 100644 index 00000000..30daa803 --- /dev/null +++ b/app/src/main/java/com/shabinder/musicForEveryone/splash/SplashScreen.kt @@ -0,0 +1,25 @@ +package com.shabinder.musicForEveryone.splash + +import android.content.Intent +import android.os.Bundle +import android.os.Handler +import androidx.appcompat.app.AppCompatActivity +import com.shabinder.musicForEveryone.MainActivity +import com.shabinder.musicForEveryone.R + +class SplashScreen : AppCompatActivity(){ + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.splash_screen) + + val splashTimeout = 600 + val homeIntent = Intent(this@SplashScreen, MainActivity::class.java) + Handler().postDelayed({ + //TODO:Bring Initial Setup here + startActivity(homeIntent) + finish() + }, splashTimeout.toLong()) + } + +} \ No newline at end of file diff --git a/app/src/main/res/drawable/btn_design.xml b/app/src/main/res/drawable/btn_design.xml new file mode 100644 index 00000000..4f066c9f --- /dev/null +++ b/app/src/main/res/drawable/btn_design.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/gradient.xml b/app/src/main/res/drawable/gradient.xml new file mode 100644 index 00000000..7cd7fc37 --- /dev/null +++ b/app/src/main/res/drawable/gradient.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_arrow.xml b/app/src/main/res/drawable/ic_arrow.xml new file mode 100644 index 00000000..610d341a --- /dev/null +++ b/app/src/main/res/drawable/ic_arrow.xml @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_arrow_slim.xml b/app/src/main/res/drawable/ic_arrow_slim.xml new file mode 100644 index 00000000..adea43fd --- /dev/null +++ b/app/src/main/res/drawable/ic_arrow_slim.xml @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_mug.xml b/app/src/main/res/drawable/ic_mug.xml new file mode 100644 index 00000000..52f1237d --- /dev/null +++ b/app/src/main/res/drawable/ic_mug.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_musicplaceholder.xml b/app/src/main/res/drawable/ic_musicplaceholder.xml index 83a828d0..8144a380 100644 --- a/app/src/main/res/drawable/ic_musicplaceholder.xml +++ b/app/src/main/res/drawable/ic_musicplaceholder.xml @@ -1,12 +1,12 @@ - - - - - - - - - + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_song_placeholder.xml b/app/src/main/res/drawable/ic_song_placeholder.xml new file mode 100644 index 00000000..5cd34dcd --- /dev/null +++ b/app/src/main/res/drawable/ic_song_placeholder.xml @@ -0,0 +1,5 @@ + + + + diff --git a/app/src/main/res/drawable/rounded_gradient.xml b/app/src/main/res/drawable/rounded_gradient.xml new file mode 100644 index 00000000..e24a13e3 --- /dev/null +++ b/app/src/main/res/drawable/rounded_gradient.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/spotify_download.png b/app/src/main/res/drawable/spotify_download.png new file mode 100644 index 00000000..3e47151a Binary files /dev/null and b/app/src/main/res/drawable/spotify_download.png differ diff --git a/app/src/main/res/drawable/text_background_accented.xml b/app/src/main/res/drawable/text_background_accented.xml new file mode 100644 index 00000000..f43e9504 --- /dev/null +++ b/app/src/main/res/drawable/text_background_accented.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/font/averia_libre.xml b/app/src/main/res/font/averia_libre.xml new file mode 100644 index 00000000..d0e370c7 --- /dev/null +++ b/app/src/main/res/font/averia_libre.xml @@ -0,0 +1,7 @@ + + + diff --git a/app/src/main/res/font/capriola.xml b/app/src/main/res/font/capriola.xml new file mode 100644 index 00000000..5bbfe928 --- /dev/null +++ b/app/src/main/res/font/capriola.xml @@ -0,0 +1,7 @@ + + + diff --git a/app/src/main/res/font/raleway.xml b/app/src/main/res/font/raleway.xml new file mode 100644 index 00000000..5fa1d4ac --- /dev/null +++ b/app/src/main/res/font/raleway.xml @@ -0,0 +1,7 @@ + + + diff --git a/app/src/main/res/font/raleway_semibold.xml b/app/src/main/res/font/raleway_semibold.xml new file mode 100644 index 00000000..f80f7227 --- /dev/null +++ b/app/src/main/res/font/raleway_semibold.xml @@ -0,0 +1,7 @@ + + + diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index 8752ec26..d085b4de 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -14,6 +14,7 @@ android:layout_marginBottom="2dp" android:background="@drawable/text_background_accented" android:padding="5dp" + android:visibility="gone" android:paddingTop="6dp" android:text="Authentication Needed" android:textColor="@color/colorPrimary" diff --git a/app/src/main/res/layout/main_fragment.xml b/app/src/main/res/layout/main_fragment.xml index 32c42710..adb31467 100644 --- a/app/src/main/res/layout/main_fragment.xml +++ b/app/src/main/res/layout/main_fragment.xml @@ -13,7 +13,7 @@ + android:visibility="gone" + app:layout_anchor="@+id/appbar" + app:layout_anchorGravity="bottom|center" /> + app:layout_constraintStart_toEndOf="@+id/linkSearch" + app:layout_constraintTop_toTopOf="@id/linkSearch" /> + + - + android:layout_height="0dp" + android:visibility="visible"> - + + + + + + + + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/open_spotify" /> - diff --git a/app/src/main/res/layout/splash_screen.xml b/app/src/main/res/layout/splash_screen.xml new file mode 100644 index 00000000..30e32fca --- /dev/null +++ b/app/src/main/res/layout/splash_screen.xml @@ -0,0 +1,38 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/track_list_item.xml b/app/src/main/res/layout/track_list_item.xml index 3af554f9..a1197185 100644 --- a/app/src/main/res/layout/track_list_item.xml +++ b/app/src/main/res/layout/track_list_item.xml @@ -1,8 +1,7 @@ + xmlns:app="http://schemas.android.com/apk/res-auto"> + app:srcCompat="@drawable/ic_song_placeholder" /> - - + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index eca70cfe..036d09bc 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index a571e600..7e8fc751 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..5ec6eb22 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index 61da551c..7e8fc751 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png index c41dd285..b7614216 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..cd043b49 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index db5080a7..b7614216 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 6dba46da..62b778ce 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..5e1f3875 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index da31a871..62b778ce 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 15ac6817..956881a6 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..d4d1081b Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index b216f2d3..956881a6 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index f25a4197..855b50ee 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..201ded27 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index e96783cc..855b50ee 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/values/font_certs.xml b/app/src/main/res/values/font_certs.xml new file mode 100644 index 00000000..d2226ac0 --- /dev/null +++ b/app/src/main/res/values/font_certs.xml @@ -0,0 +1,17 @@ + + + + @array/com_google_android_gms_fonts_certs_dev + @array/com_google_android_gms_fonts_certs_prod + + + + MIIEqDCCA5CgAwIBAgIJANWFuGx90071MA0GCSqGSIb3DQEBBAUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAeFw0wODA0MTUyMzM2NTZaFw0zNTA5MDEyMzM2NTZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBANbOLggKv+IxTdGNs8/TGFy0PT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AUAA4IBAQBt0lLO74UwLDYKqs6Tm8/yzKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCEyj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1SKMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifKZ0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3WfMBEmh/9iFBDAaTCK + + + diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 00000000..beab31f7 --- /dev/null +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #000000 + \ No newline at end of file diff --git a/app/src/main/res/values/preloaded_fonts.xml b/app/src/main/res/values/preloaded_fonts.xml new file mode 100644 index 00000000..9dd61011 --- /dev/null +++ b/app/src/main/res/values/preloaded_fonts.xml @@ -0,0 +1,9 @@ + + + + @font/averia_libre + @font/capriola + @font/raleway + @font/raleway_semibold + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index db2ef265..ceaca902 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,11 @@ musicForEveryone + Usage Instructions: + 1. Paste, Your Copied Link in Search Box at Top. + 2. Share directly from Spotify App to this App. + It Seems you don\'t have Spotify Installed + Open Spotify Web Player + No Internet Connectivity! + It seems there is No Internet Connectivity Available! + Let Me Check. \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 77b785c0..e281194a 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -16,6 +16,42 @@ @style/TextAppearance.MaterialComponents.Body2 + + + + + + + + + + +