some more theme tweaks
This commit is contained in:
parent
cc87416120
commit
c3999d1c63
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
|||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
/app/release
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -11,9 +11,9 @@
|
|||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 2,
|
||||
"versionName": "1.1",
|
||||
"outputFile": "me.arimelody.aridroid-v2(1.1)-release.apk"
|
||||
"versionCode": 3,
|
||||
"versionName": "1.1.1",
|
||||
"outputFile": "me.arimelody.aridroid-v3(1.1.1)-release.apk"
|
||||
}
|
||||
],
|
||||
"elementType": "File",
|
||||
|
@ -22,14 +22,14 @@
|
|||
"minApi": 28,
|
||||
"maxApi": 30,
|
||||
"baselineProfiles": [
|
||||
"baselineProfiles/1/me.arimelody.aridroid-v2(1.1)-release.dm"
|
||||
"baselineProfiles/1/me.arimelody.aridroid-v3(1.1.1)-release.dm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"minApi": 31,
|
||||
"maxApi": 2147483647,
|
||||
"baselineProfiles": [
|
||||
"baselineProfiles/0/me.arimelody.aridroid-v2(1.1)-release.dm"
|
||||
"baselineProfiles/0/me.arimelody.aridroid-v3(1.1.1)-release.dm"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ReleaseViewActivity"/>
|
||||
<meta-data
|
||||
android:name="preloaded_fonts"
|
||||
android:resource="@array/preloaded_fonts" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
|
15
app/src/main/res/font/basic.xml
Normal file
15
app/src/main/res/font/basic.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?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/inter_regular" />
|
||||
<font
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="600"
|
||||
android:font="@font/inter_bold" />
|
||||
<font
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="800"
|
||||
android:font="@font/inter_black" />
|
||||
</font-family>
|
|
@ -1,7 +0,0 @@
|
|||
<?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>
|
BIN
app/src/main/res/font/inter_black.ttf
Normal file
BIN
app/src/main/res/font/inter_black.ttf
Normal file
Binary file not shown.
|
@ -1,7 +0,0 @@
|
|||
<?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>
|
BIN
app/src/main/res/font/inter_bold.ttf
Normal file
BIN
app/src/main/res/font/inter_bold.ttf
Normal file
Binary file not shown.
|
@ -1,7 +0,0 @@
|
|||
<?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>
|
BIN
app/src/main/res/font/inter_regular.ttf
Normal file
BIN
app/src/main/res/font/inter_regular.ttf
Normal file
Binary file not shown.
|
@ -6,6 +6,6 @@
|
|||
android:font="@font/monaspace_regular" />
|
||||
<font
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="800"
|
||||
android:fontWeight="600"
|
||||
android:font="@font/monaspace_bold" />
|
||||
</font-family>
|
|
@ -25,7 +25,7 @@
|
|||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="10dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:textFontWeight="800"
|
||||
android:text="@string/releases_list_title"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:textSize="32sp" />
|
||||
|
@ -57,7 +57,7 @@
|
|||
android:layout_marginVertical="10dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/musicListContainer"
|
||||
android:textSize="32sp"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:textFontWeight="800"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/artists_list_title" />
|
||||
<FrameLayout
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:textSize="32sp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:textFontWeight="800"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/default_release_title" />
|
||||
<TextView
|
||||
|
@ -45,7 +45,7 @@
|
|||
android:layout_marginTop="-10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="700"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/default_artist" />
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="600"
|
||||
android:textSize="16sp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/default_artist_name" />
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="600"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:text="@string/default_release_title" />
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
app:layout_constraintLeft_toRightOf="@id/musicTitle"
|
||||
app:layout_constraintTop_toTopOf="@id/musicTitle"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="600"
|
||||
android:textColor="@color/on_surface_dim"
|
||||
android:text="@string/default_year" />
|
||||
|
||||
|
|
|
@ -36,14 +36,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="5dp"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="600"
|
||||
android:textColor="?attr/colorOnPrimary"
|
||||
android:text="@string/new_item" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/release_artist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/release_title"
|
||||
|
@ -51,11 +51,11 @@
|
|||
android:layout_marginBottom="-14dp"
|
||||
android:textSize="24sp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:fontFamily="@font/inter_bold"
|
||||
android:textFontWeight="600"
|
||||
android:text="@string/default_artist" />
|
||||
<TextView
|
||||
android:id="@+id/release_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/tap_to_view"
|
||||
|
@ -63,11 +63,11 @@
|
|||
android:layout_marginBottom="-10dp"
|
||||
android:textSize="40sp"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:fontFamily="@font/inter_black"
|
||||
android:textFontWeight="800"
|
||||
android:text="@string/default_release_title" />
|
||||
<TextView
|
||||
android:id="@+id/tap_to_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/release_artwork"
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
<?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>
|
||||
MIIEqDCCA5CgAwIBAgIJANWFuGx90071MA0GCSqGSIb3DQEBBAUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAeFw0wODA0MTUyMzM2NTZaFw0zNTA5MDEyMzM2NTZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lk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mlldzEUMBIGA1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/yzKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCEyj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1SKMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifKZ0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3WfMBEmh/9iFBDAaTCK
|
||||
</item>
|
||||
</string-array>
|
||||
</resources>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#BBFF67</color>
|
||||
<color name="ic_launcher_background">@color/brand_green</color>
|
||||
</resources>
|
|
@ -1,8 +0,0 @@
|
|||
<?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>
|
|
@ -1,9 +1,5 @@
|
|||
<resources>
|
||||
<style name="AriDroid.Base" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<item name="android:fontFamily">@font/inter</item>
|
||||
</style>
|
||||
|
||||
<style name="AriDroid.Theme" parent="AriDroid.Base">
|
||||
<item name="colorPrimary">@color/brand_pink_dark</item>
|
||||
<item name="colorOnPrimary">@color/white100</item>
|
||||
<item name="colorSecondary">@color/brand_green_dark</item>
|
||||
|
@ -11,6 +7,11 @@
|
|||
<item name="colorSurface">@color/white90</item>
|
||||
<item name="colorOnSurface">@color/dark90</item>
|
||||
<item name="colorOnSurfaceVariant">@color/dark50</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
||||
<item name="android:fontFamily">@font/basic</item>
|
||||
</style>
|
||||
|
||||
<style name="AriDroid.Theme" parent="AriDroid.Base">
|
||||
</style>
|
||||
|
||||
<style name="AriDroid.Card" parent="AriDroid.Theme">
|
||||
|
|
Loading…
Reference in a new issue