HUGE ui rewrite waow. very nice
This commit is contained in:
parent
f5e50cf481
commit
dc64cb65b1
31 changed files with 627 additions and 119 deletions
6
app/src/main/res/color/on_surface_dim.xml
Normal file
6
app/src/main/res/color/on_surface_dim.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:alpha="0.6"
|
||||
android:color="?attr/colorOnSurface" />
|
||||
</selector>
|
7
app/src/main/res/font/inter.xml
Normal file
7
app/src/main/res/font/inter.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<font-family xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:fontProviderAuthority="com.google.android.gms.fonts"
|
||||
app:fontProviderPackage="com.google.android.gms"
|
||||
app:fontProviderQuery="Inter"
|
||||
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs">
|
||||
</font-family>
|
7
app/src/main/res/font/inter_black.xml
Normal file
7
app/src/main/res/font/inter_black.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<font-family xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:fontProviderAuthority="com.google.android.gms.fonts"
|
||||
app:fontProviderPackage="com.google.android.gms"
|
||||
app:fontProviderQuery="name=Inter&weight=900"
|
||||
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs">
|
||||
</font-family>
|
7
app/src/main/res/font/inter_bold.xml
Normal file
7
app/src/main/res/font/inter_bold.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<font-family xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:fontProviderAuthority="com.google.android.gms.fonts"
|
||||
app:fontProviderPackage="com.google.android.gms"
|
||||
app:fontProviderQuery="name=Inter&weight=700"
|
||||
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs">
|
||||
</font-family>
|
11
app/src/main/res/font/monaspace.xml
Normal file
11
app/src/main/res/font/monaspace.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<font
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="400"
|
||||
android:font="@font/monaspace_regular" />
|
||||
<font
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="800"
|
||||
android:font="@font/monaspace_bold" />
|
||||
</font-family>
|
BIN
app/src/main/res/font/monaspace_bold.otf
Normal file
BIN
app/src/main/res/font/monaspace_bold.otf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/monaspace_regular.otf
Normal file
BIN
app/src/main/res/font/monaspace_regular.otf
Normal file
Binary file not shown.
|
@ -1,19 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/main"
|
||||
android:theme="@style/AriDroid.Theme"
|
||||
android:background="?attr/colorSurface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/musicList"
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
app:layout_constraintLeft_toLeftOf="parent">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicListHeader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="10dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:text="@string/releases_list_title"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:textSize="32sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/musicList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="5dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/musicListHeader"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/artistListHeader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="10dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/musicList"
|
||||
android:textSize="32sp"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/artists_list_title" />
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/artistList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="5dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/artistListHeader"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
83
app/src/main/res/layout/artist_list_item.xml
Normal file
83
app/src/main/res/layout/artist_list_item.xml
Normal file
|
@ -0,0 +1,83 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/musicItem"
|
||||
android:theme="@style/AriDroid.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="5dp"
|
||||
app:cardBackgroundColor="?attr/colorSurface"
|
||||
app:cardCornerRadius="?attr/cornerRadius">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/musicArtworkContainer"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:cardCornerRadius="24dp">
|
||||
<ImageView
|
||||
android:id="@+id/artistAvatar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:contentDescription="@string/music_artwork_description"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/musicArtworkContainer"
|
||||
app:layout_constraintLeft_toRightOf="@id/musicArtworkContainer"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/musicArtworkContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/artistName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textSize="16dp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/default_artist_name" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/artistWebsite"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="0dp"
|
||||
android:paddingVertical="0dp"
|
||||
android:text="@string/artist_website"
|
||||
android:textColor="?attr/colorSurface"
|
||||
android:textColorLink="#77B7CE"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/artistID"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginStart="5dp"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="@id/artistName"-->
|
||||
<!-- android:fontFamily="@font/monaspace"-->
|
||||
<!-- android:textColor="@color/on_surface_dim"-->
|
||||
<!-- android:text="@string/default_artist_id" />-->
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
|
@ -1,72 +1,82 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:theme="@style/AriDroid.Card"
|
||||
android:id="@+id/musicItem"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
app:cardBackgroundColor="@color/material_dynamic_neutral100"
|
||||
android:padding="10dp">
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="5dp"
|
||||
app:cardBackgroundColor="?attr/colorSurface"
|
||||
app:cardCornerRadius="?attr/cornerRadius">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/musicArtwork"
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/musicArtworkContainer"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:contentDescription="@string/music_artwork_description"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:srcCompat="@tools:sample/avatars" />
|
||||
app:cardCornerRadius="5dp">
|
||||
<ImageView
|
||||
android:id="@+id/artistAvatar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:contentDescription="@string/music_artwork_description"
|
||||
android:src="@mipmap/default_music_art"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/musicArtwork"
|
||||
app:layout_constraintLeft_toRightOf="@id/musicArtwork"
|
||||
app:layout_constraintBottom_toBottomOf="@id/musicArtworkContainer"
|
||||
app:layout_constraintLeft_toRightOf="@id/musicArtworkContainer"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/musicArtwork">
|
||||
app:layout_constraintTop_toTopOf="@id/musicArtworkContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/default_release_title"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/default_release_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicYear"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:alpha=".6"
|
||||
android:text="@string/default_year"
|
||||
android:textStyle="bold|italic"
|
||||
app:layout_constraintLeft_toRightOf="@id/musicTitle"
|
||||
app:layout_constraintTop_toTopOf="@id/musicTitle" />
|
||||
app:layout_constraintTop_toTopOf="@id/musicTitle"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textColor="@color/on_surface_dim"
|
||||
android:text="@string/default_year" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicArtist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/default_artist"
|
||||
app:layout_constraintLeft_toLeftOf="@id/musicTitle"
|
||||
app:layout_constraintTop_toBottomOf="@id/musicTitle" />
|
||||
app:layout_constraintTop_toBottomOf="@id/musicTitle"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/default_artist" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicType"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/default_release_type"
|
||||
app:layout_constraintLeft_toLeftOf="@id/musicArtist"
|
||||
app:layout_constraintTop_toBottomOf="@id/musicArtist" />
|
||||
app:layout_constraintTop_toBottomOf="@id/musicArtist"
|
||||
android:textColor="@color/on_surface_dim"
|
||||
android:text="@string/default_release_type" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
BIN
app/src/main/res/mipmap-hdpi/default_music_art.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/default_music_art.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
|
@ -1,7 +1,14 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Base.Theme.AriDroid" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Customize your dark theme here. -->
|
||||
<!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
|
||||
<resources>
|
||||
<style name="AriDroid.Theme" parent="AriDroid.Base">
|
||||
<item name="colorPrimary">@color/brand_green</item>
|
||||
<item name="colorSecondary">@color/brand_pink</item>
|
||||
<item name="colorSurface">@color/dark100</item>
|
||||
<item name="colorOnSurface">@color/white90</item>
|
||||
<item name="android:fontFamily">@font/inter</item>
|
||||
</style>
|
||||
|
||||
<style name="AriDroid.Card" parent="AriDroid.Theme">
|
||||
<item name="colorSurface">@color/dark90</item>
|
||||
<item name="colorOnSurface">@color/white100</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
</resources>
|
19
app/src/main/res/values/colours.xml
Normal file
19
app/src/main/res/values/colours.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="brand_green">#FFB7FD49</color>
|
||||
<color name="brand_green_dark">#FF465E1F</color>
|
||||
<color name="brand_yellow">#FFF8E05B</color>
|
||||
<color name="brand_yellow_dark">#FFC6A80F</color>
|
||||
<color name="brand_pink">#FFF788FE</color>
|
||||
<color name="brand_pink_dark">#FFDC62E5</color>
|
||||
|
||||
<color name="dark100">#FF000000</color>
|
||||
<color name="dark90">#FF101010</color>
|
||||
<color name="dark80">#FF202020</color>
|
||||
<color name="dark50">#FF404040</color>
|
||||
|
||||
<color name="white100">#FFFFFFFF</color>
|
||||
<color name="white90">#FFF0F0F0</color>
|
||||
<color name="white80">#FFD0D0D0</color>
|
||||
<color name="white50">#FFB0B0B0</color>
|
||||
</resources>
|
17
app/src/main/res/values/font_certs.xml
Normal file
17
app/src/main/res/values/font_certs.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<array name="com_google_android_gms_fonts_certs">
|
||||
<item>@array/com_google_android_gms_fonts_certs_dev</item>
|
||||
<item>@array/com_google_android_gms_fonts_certs_prod</item>
|
||||
</array>
|
||||
<string-array name="com_google_android_gms_fonts_certs_dev">
|
||||
<item>
|
||||
MIIEqDCCA5CgAwIBAgIJANWFuGx90071MA0GCSqGSIb3DQEBBAUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAeFw0wODA0MTUyMzM2NTZaFw0zNTA5MDEyMzM2NTZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBANbOLggKv+IxTdGNs8/TGFy0PTP6DHThvbbR24kT9ixcOd9W+EaBPWW+wPPKQmsHxajtWjmQwWfna8mZuSeJS48LIgAZlKkpFeVyxW0qMBujb8X8ETrWy550NaFtI6t9+u7hZeTfHwqNvacKhp1RbE6dBRGWynwMVX8XW8N1+UjFaq6GCJukT4qmpN2afb8sCjUigq0GuMwYXrFVee74bQgLHWGJwPmvmLHC69EH6kWr22ijx4OKXlSIx2xT1AsSHee70w5iDBiK4aph27yH3TxkXy9V89TDdexAcKk/cVHYNnDBapcavl7y0RiQ4biu8ymM8Ga/nmzhRKya6G0cGw8CAQOjgfwwgfkwHQYDVR0OBBYEFI0cxb6VTEM8YYY6FbBMvAPyT+CyMIHJBgNVHSMEgcEwgb6AFI0cxb6VTEM8YYY6FbBMvAPyT+CyoYGapIGXMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbYIJANWFuGx90071MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEEBQADggEBABnTDPEF+3iSP0wNfdIjIz1AlnrPzgAIHVvXxunW7SBrDhEglQZBbKJEk5kT0mtKoOD1JMrSu1xuTKEBahWRbqHsXclaXjoBADb0kkjVEJu/Lh5hgYZnOjvlba8Ld7HCKePCVePoTJBdI4fvugnL8TsgK05aIskyY0hKI9L8KfqfGTl1lzOv2KoWD0KWwtAWPoGChZxmQ+nBli+gwYMzM1vAkP+aayLe0a1EQimlOalO762r0GXO0ks+UeXde2Z4e+8S/pf7pITEI/tP+MxJTALw9QUWEv9lKTk+jkbqxbsh8nfBUapfKqYn0eidpwq2AzVp3juYl7//fKnaPhJD9gs=
|
||||
</item>
|
||||
</string-array>
|
||||
<string-array name="com_google_android_gms_fonts_certs_prod">
|
||||
<item>
|
||||
MIIEQzCCAyugAwIBAgIJAMLgh0ZkSjCNMA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0wODA4MjEyMzEzMzRaFw0zNjAxMDcyMzEzMzRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAKtWLgDYO6IIrgqWbxJOKdoR8qtW0I9Y4sypEwPpt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKkedxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjAsb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/CxURaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJEqO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/Tgt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/yzKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCEyj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1SKMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifKZ0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3WfMBEmh/9iFBDAaTCK
|
||||
</item>
|
||||
</string-array>
|
||||
</resources>
|
8
app/src/main/res/values/preloaded_fonts.xml
Normal file
8
app/src/main/res/values/preloaded_fonts.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<array name="preloaded_fonts" translatable="false">
|
||||
<item>@font/inter</item>
|
||||
<item>@font/inter_black</item>
|
||||
<item>@font/inter_bold</item>
|
||||
</array>
|
||||
</resources>
|
|
@ -2,6 +2,7 @@
|
|||
<string name="base_url">https://arimelody.me</string>
|
||||
<string name="app_name">AriDroid</string>
|
||||
|
||||
<string name="releases_list_title">Releases</string>
|
||||
<string name="music_artwork_description">%s artwork</string>
|
||||
<string name="default_release_title">Untitled Release</string>
|
||||
<string name="default_track_title">Untitled Track</string>
|
||||
|
@ -9,7 +10,6 @@
|
|||
<string name="default_year">2002</string>
|
||||
<string name="default_release_type">Release</string>
|
||||
<string name="default_release_track_count">0 tracks</string>
|
||||
|
||||
<string name="release_type_unknown">Unknown</string>
|
||||
<string name="release_type_single">Single</string>
|
||||
<string name="release_type_album">Album</string>
|
||||
|
@ -17,9 +17,13 @@
|
|||
<string name="release_type_lp">LP</string>
|
||||
<string name="release_type_compilation">Compilation</string>
|
||||
<string name="release_type_upcoming">Upcoming</string>
|
||||
|
||||
<plurals name="release_track_count">
|
||||
<item quantity="one">(%d track)</item>
|
||||
<item quantity="other">(%d tracks)</item>
|
||||
</plurals>
|
||||
|
||||
<string name="artists_list_title">Artists</string>
|
||||
<string name="default_artist_name">Unknown Artist</string>
|
||||
<string name="default_artist_id">artist001</string>
|
||||
<string name="artist_website">Website</string>
|
||||
</resources>
|
|
@ -1,9 +1,19 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Base.Theme.AriDroid" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Customize your light theme here. -->
|
||||
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
||||
<resources>
|
||||
<style name="AriDroid.Base" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<item name="android:fontFamily">@font/inter</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AriDroid" parent="Base.Theme.AriDroid" />
|
||||
<style name="AriDroid.Theme" parent="AriDroid.Base">
|
||||
<item name="colorPrimary">@color/brand_green_dark</item>
|
||||
<item name="colorSecondary">@color/brand_pink_dark</item>
|
||||
<item name="colorSurface">@color/white90</item>
|
||||
<item name="colorOnSurfaceVariant">@color/white50</item>
|
||||
<item name="colorOnSurface">@color/dark90</item>
|
||||
</style>
|
||||
|
||||
<style name="AriDroid.Card" parent="AriDroid.Theme">
|
||||
<item name="colorSurface">@color/white100</item>
|
||||
<item name="colorOnSurface">@color/dark90</item>
|
||||
<item name="cornerRadius">10dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue