Fixed support page

main
h4h13 2020-02-25 20:15:41 +05:30
parent d65314f4b8
commit d1ecdab42b
17 changed files with 68 additions and 76 deletions

View File

@ -24,7 +24,7 @@ android {
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
versionCode 410
versionCode 411
versionName '3.4.950'
multiDexEnabled true

View File

@ -68,7 +68,3 @@
-obfuscationdictionary build/obfuscation-dictionary.txt
-classobfuscationdictionary build/class-dictionary.txt
-packageobfuscationdictionary build/package-dictionary.txt
# Move all classes and packages into the root package.
-repackageclasses ''
-flattenpackagehierarchy

View File

@ -191,6 +191,7 @@ class SkuDetailsAdapter(
4 -> R.drawable.ic_fast_food_meal_white_24dp
5 -> R.drawable.ic_popcorn_white_24dp
6 -> R.drawable.ic_card_giftcard_white_24dp
7 -> R.drawable.ic_food_croissant_white_24dp
else -> R.drawable.ic_card_giftcard_white_24dp
}
}

View File

@ -10,6 +10,7 @@ import code.name.monkey.retromusic.R
import code.name.monkey.retromusic.model.Contributor
import code.name.monkey.retromusic.util.RetroUtil.openUrl
import code.name.monkey.retromusic.views.CircularImageView
import code.name.monkey.retromusic.views.RetroShapeableImageView
import com.bumptech.glide.Glide
class ContributorAdapter(
@ -62,14 +63,17 @@ class ContributorAdapter(
inner class ViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val title: TextView = itemView.findViewById(R.id.title)
val text: TextView = itemView.findViewById(R.id.text)
val image: CircularImageView = itemView.findViewById(R.id.icon)
val image: RetroShapeableImageView = itemView.findViewById(R.id.icon)
internal fun bindData(contributor: Contributor) {
title.text = contributor.name
text.text = contributor.summary
Glide.with(image.context).load(contributor.profileImage)
Glide.with(image.context)
.load(contributor.profileImage)
.error(R.drawable.ic_account_white_24dp)
.placeholder(R.drawable.ic_account_white_24dp).dontAnimate().into(image)
.placeholder(R.drawable.ic_account_white_24dp)
.dontAnimate()
.into(image)
}
}
}

View File

@ -1,24 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="512.0"
android:viewportWidth="512.0">
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFF"
android:pathData="M418.9,174.5h-23.3c-12.8,0 -23.3,-10.5 -23.3,-23.3c0,-7 -4.7,-11.6 -11.6,-11.6h-128c-7,0 -11.6,4.7 -11.6,11.6c0,7 4.7,11.6 11.6,11.6h116.4v232.7c0,7 4.7,11.6 11.6,11.6s11.6,-4.7 11.6,-11.6V221.1c0,-12.8 10.5,-23.3 23.3,-23.3h23.3c7,0 11.6,4.7 11.6,11.6v139.6c0,7 -4.7,11.6 -11.6,11.6h-11.6c-7,0 -11.6,4.7 -11.6,11.6S400.3,384 407.3,384h11.6c19.8,0 34.9,-15.1 34.9,-34.9V209.5C453.8,189.7 438.7,174.5 418.9,174.5z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M374.7,439.9c-1.2,-1.2 -1.2,-1.2 -1.2,-2.3c-2.3,-4.7 -5.8,-7 -10.5,-7H128c-7,0 -11.6,4.7 -11.6,11.6s4.7,11.6 11.6,11.6h228.1c1.2,1.2 1.2,1.2 2.3,2.3s2.3,3.5 2.3,5.8v15.1c0,7 -4.7,11.6 -11.6,11.6h-256c-7,0 -11.6,-4.7 -11.6,-11.6v-15.1c0,-2.3 1.2,-4.7 2.3,-5.8c5.8,-5.8 9.3,-14 9.3,-22.1V151.3c0,-7 -4.7,-11.6 -11.6,-11.6s-11.6,4.7 -11.6,11.6v282.8c0,2.3 -1.2,4.7 -2.3,5.8c-5.8,5.8 -9.3,14 -9.3,22.1v15.1c0,19.8 15.1,34.9 34.9,34.9h256C368.9,512 384,496.9 384,477.1v-15.1C384,453.8 380.5,445.7 374.7,439.9z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M381.7,72.1c-3.5,-17.5 -18.6,-32.6 -36.1,-36.1s-34.9,3.5 -45.4,16.3c-4.7,-2.3 -9.3,-4.7 -14,-4.7C278.1,19.8 251.3,0 221.1,0c-29.1,0 -53.5,17.5 -64,43.1c-8.1,-4.7 -18.6,-8.1 -27.9,-8.1c-14,0 -27.9,5.8 -38.4,16.3c-23.3,23.3 -22.1,41.9 -18.6,55.9c1.2,5.8 5.8,9.3 10.5,9.3h33.7c7,0 11.6,4.7 11.6,11.6v81.5c0,19.8 15.1,34.9 34.9,34.9c19.8,0 34.9,-15.1 34.9,-34.9V128c0,-7 4.7,-11.6 11.6,-11.6h153.6c3.5,0 7,-1.2 8.1,-3.5C381.7,101.2 385.2,86.1 381.7,72.1zM357.2,91.9H209.5c-19.8,0 -34.9,15.1 -34.9,34.9v81.5c0,7 -4.7,11.6 -11.6,11.6c-7,0 -11.6,-4.7 -11.6,-11.6v-81.5c0,-19.8 -15.1,-34.9 -34.9,-34.9H93.1c0,-5.8 3.5,-14 14,-24.4c5.8,-5.8 14,-9.3 22.1,-9.3c10.5,0 19.8,4.7 25.6,12.8c3.5,3.5 8.1,4.7 12.8,3.5c3.5,-1.2 7,-4.7 7,-9.3c3.5,-24.4 23.3,-41.9 46.5,-41.9c22.1,0 40.7,15.1 45.4,37.2c1.2,5.8 7,9.3 11.6,9.3c1.2,0 1.2,0 1.2,0c7,0 12.8,2.3 17.5,7c2.3,3.5 5.8,4.7 10.5,3.5c3.5,-1.2 7,-3.5 8.1,-7c3.5,-9.3 12.8,-17.5 26.8,-15.1c8.1,1.2 16.3,9.3 17.5,17.5C360.7,82.6 359.6,88.4 357.2,91.9z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M221.1,197.8c-7,0 -11.6,4.7 -11.6,11.6V384c0,7 4.7,11.6 11.6,11.6c7,0 11.6,-4.7 11.6,-11.6V209.5C232.7,202.5 228.1,197.8 221.1,197.8z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M290.9,197.8c-7,0 -11.6,4.7 -11.6,11.6V384c0,7 4.7,11.6 11.6,11.6s11.6,-4.7 11.6,-11.6V209.5C302.5,202.5 297.9,197.8 290.9,197.8z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M151.3,267.6c-7,0 -11.6,4.7 -11.6,11.6V384c0,7 4.7,11.6 11.6,11.6c7,0 11.6,-4.7 11.6,-11.6V279.3C162.9,272.3 158.3,267.6 151.3,267.6z" />
android:fillColor="@color/md_white_1000"
android:pathData="M9.5 3C7.56 3 5.85 4.24 5.23 6.08C3.36 6.44 2 8.09 2 10C2 12.21 3.79 14 6 14V22H17V20H20C20.55 20 21 19.55 21 19V11C21 10.45 20.55 10 20 10H18V8C18 5.79 16.21 4 14 4H12.32C11.5 3.35 10.53 3 9.5 3M9.5 5C10.29 5 11.03 5.37 11.5 6H14C15.11 6 16 6.9 16 8H12C10 8 9.32 9.13 8.5 10.63C7.68 12.13 6 12 6 12C4.89 12 4 11.11 4 10C4 8.9 4.89 8 6 8H7V7.5C7 6.12 8.12 5 9.5 5M17 12H19V18H17Z" />
</vector>

View File

@ -1,30 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="496.0"
android:viewportWidth="496.0">
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M472,272V168c0,-13.2 -10.8,-24 -24,-24h-16c-6.2,0 -11.7,2.4 -16,6.2c-4.3,-3.8 -9.8,-6.2 -16,-6.2h-16c-6.2,0 -11.7,2.4 -16,6.2c-4.3,-3.8 -9.8,-6.2 -16,-6.2h-16c-13.2,0 -24,10.8 -24,24v102.7c-18.5,-12.8 -45.4,-23.7 -84.8,-28.3l12.6,-88.2c0.2,-1.1 0.2,-2.1 0.2,-3.2C240,138.3 229.7,128 217.1,128H144V56c0,-4.4 3.6,-8 8,-8h64c13.2,0 24,-10.8 24,-24S229.2,0 216,0h-72c-26.5,0 -48,21.5 -48,48v80H22.9C10.3,128 0,138.3 0,150.9c0,1.1 0.1,2.2 0.2,3.2l19.3,134.9C0.5,311.8 0,334.1 0,336c0,14 9,25.7 21.5,30.1C18,371.2 16,377.4 16,384c0,8.5 3.4,16.2 8.9,22C10.1,414.2 0,429.9 0,448c0,26.5 21.5,48 48,48h240h16h192V328v-8v-24C496,282.8 485.2,272 472,272zM424,168c0,-4.4 3.6,-8 8,-8h16c4.4,0 8,3.6 8,8v104h-32V168zM376,168c0,-4.4 3.6,-8 8,-8h16c4.4,0 8,3.6 8,8v104h-32V168zM328,168c0,-4.4 3.6,-8 8,-8h16c4.4,0 8,3.6 8,8v104h-32V168zM200,16h16c4.4,0 8,3.6 8,8s-3.6,8 -8,8h-16V16zM168,16h16v16h-16V16zM112,48c0,-17.6 14.4,-32 32,-32h8v16c-13.2,0 -24,10.8 -24,24v72h-16V48zM17.2,160l-1.2,-8.1c-0,-0.3 -0.1,-0.7 -0.1,-1c0,-3.8 3.1,-6.9 6.9,-6.9H96h48h73.1c3.8,0 6.9,3.1 6.9,6.9c0,0.3 -0,0.7 -0.1,1l-1.2,8.1H200v16h20.5l-4.6,32H24.1l-4.6,-32H184v-16H17.2zM213.6,224l-2.4,16.9C202.7,240.3 193.6,240 184,240h-16c-69.7,0 -110.4,16.2 -134.3,35.4L26.4,224H213.6zM16,336c0,-0.8 1.7,-80 152,-80h16c149.2,0 152,76.8 152,80c0,8.8 -7.2,16 -16,16h-8h-8H48H32C23.2,352 16,344.8 16,336zM48,400c-8.8,0 -16,-7.2 -16,-16c0,-8.8 7.2,-16 16,-16h256c8.8,0 16,7.2 16,16c0,8.8 -7.2,16 -16,16H48zM270.6,416l-32.8,38.3L150.2,416H270.6zM304,480h-16H48c-17.6,0 -32,-14.4 -32,-32s14.4,-32 32,-32h62.3l131.9,57.7L291.7,416H304c17.6,0 32,14.4 32,32S321.6,480 304,480zM327.2,406C332.6,400.2 336,392.5 336,384c0,-5.9 -1.7,-11.3 -4.4,-16H448v80h-96c0,-5.6 -1,-11 -2.8,-16H400v-16h-60.3C336.1,412 331.9,408.6 327.2,406zM480,320h-16v16h16v144H339.7c4.2,-4.6 7.4,-10 9.5,-16H464V352H347.6c2.8,-4.7 4.4,-10.1 4.4,-16h96v-16h-98.7c-2.6,-8.9 -7.7,-20.4 -17.8,-32H472c4.4,0 8,3.6 8,8V320z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M416,416h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M104,272h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M136,288h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M168,272h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M216,296h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M256,272h16v16h-16z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M56,304h16v16h-16z" />
android:fillColor="@color/md_white_1000"
android:pathData="M15.5,21L14,8H16.23L15.1,3.46L16.84,3L18.09,8H22L20.5,21H15.5M5,11H10A3,3 0 0,1 13,14H2A3,3 0 0,1 5,11M13,18A3,3 0 0,1 10,21H5A3,3 0 0,1 2,18H13M3,15H8L9.5,16.5L11,15H12A1,1 0 0,1 13,16A1,1 0 0,1 12,17H3A1,1 0 0,1 2,16A1,1 0 0,1 3,15Z" />
</vector>

View File

@ -0,0 +1,10 @@
<!-- drawable/food_croissant.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/md_white_1000"
android:pathData="M22,19L19,17L22,15V19M15,15L19,9L22,13L18,16L15,15M5,17L2,19V15L5,17M9,15L6,16L2,13L5,9L9,15M14,6L18,8L13,15H11L6,8L10,6H14Z" />
</vector>

View File

@ -1,5 +1,9 @@
<vector android:height="24dp" android:viewportHeight="512.0"
android:viewportWidth="512.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFFFFF" android:pathData="M228.7,57.2c-6.8,0 -13.4,1.8 -19.1,5.1c-6,-5.2 -13.7,-8.2 -21.8,-8.2c-18.4,0 -33.4,15 -33.4,33.4s15,33.4 33.4,33.4c5.3,0 9.6,-4.3 9.6,-9.6c0,-5.3 -4.3,-9.6 -9.6,-9.6c-7.8,0 -14.2,-6.4 -14.2,-14.2s6.4,-14.2 14.2,-14.2c5.1,0 9.6,2.6 12.2,7c1.5,2.6 4.2,4.3 7.1,4.6c3,0.3 5.9,-0.7 8,-2.9c3.6,-3.7 8.4,-5.8 13.6,-5.8c10.4,0 18.9,8.5 18.9,18.9c0,5.3 4.3,9.6 9.6,9.6c5.3,0 9.6,-4.3 9.6,-9.6C266.7,74.3 249.7,57.2 228.7,57.2z"/>
<path android:fillColor="#FFFFFF" android:pathData="M477.9,255l-6.3,-38.8c-0.8,-4.6 -4.8,-8 -9.5,-8h-9.9l-8,-30.3c-1.1,-4.2 -4.9,-7.1 -9.3,-7.1h-33.9l2.4,-26.8c6.6,-8.5 10.2,-19 10.2,-29.9c0,-21.8 -14,-40.3 -33.8,-46.6c0.1,-1.3 0.2,-2.6 0.2,-3.9c0,-21.7 -17.7,-39.4 -39.4,-39.4c-6.2,0 -12.2,1.4 -17.5,4.1c-8.9,-13.4 -24.1,-21.9 -40.8,-21.9c-10.4,0 -20.3,3.2 -28.5,9.1C246.6,5.9 235.1,0 222.7,0c-11.9,0 -23.1,5.5 -30.4,14.4c-7.9,-5.2 -17.3,-8.1 -27,-8.1c-16.7,0 -31.9,8.4 -40.8,21.9c-5.4,-2.7 -11.4,-4.1 -17.5,-4.1c-21.7,0 -39.4,17.7 -39.4,39.4c0,1.3 0.1,2.6 0.2,3.9c-19.9,6.3 -33.8,24.8 -33.8,46.6c0,10.9 3.6,21.4 10.2,29.9l34.6,359.5c0.5,4.9 4.6,8.7 9.5,8.7L427,512c5,0 9.1,-3.8 9.6,-8.8l19.6,-237.1h12.3c2.8,0 5.5,-1.2 7.3,-3.4C477.6,260.6 478.4,257.7 477.9,255zM427.6,189.8l4.8,18.3H258.8l4.8,-18.3H427.6zM274.9,170.6l1.9,-20.5h52.7l-2.6,20.5H274.9zM346.3,170.6l2.6,-20.5h34.9l-1.9,20.5H346.3zM53.1,114c0,-13.5 8.8,-24.9 21.3,-28.5c4.9,6.8 13.4,13.8 25.8,13.8c1.5,0 3,-0.1 4.7,-0.3c5.2,-0.7 8.9,-5.5 8.2,-10.8c-0.7,-5.3 -5.6,-8.9 -10.8,-8.2c-9.5,1.3 -13.3,-6.9 -14,-8.5c-0,-0 -0,-0.1 -0,-0.1c-0,-0 -0,-0 -0,-0.1c-1,-2.4 -1.5,-5 -1.5,-7.7c0,-11.1 9.1,-20.2 20.2,-20.2c5.4,0 10.5,2.1 14.3,6c2.3,2.3 5.7,3.3 8.9,2.6c3.2,-0.7 5.8,-3.1 6.9,-6.2c4.1,-12 15.4,-20.1 28.2,-20.1c8.5,0 16.6,3.6 22.2,10c2.2,2.5 5.6,3.7 8.9,3.1c3.3,-0.6 6.1,-2.9 7.2,-6.1c2.9,-7.9 10.6,-13.2 19,-13.2c8.9,0 16.9,6 19.4,14.6c1,3.5 3.9,6.1 7.4,6.7c3.5,0.7 7.2,-0.7 9.4,-3.5c5.7,-7.3 14.3,-11.5 23.5,-11.5c12.7,0 24,8.1 28.2,20.1c1.1,3.1 3.7,5.5 6.9,6.2c3.2,0.7 6.6,-0.2 8.9,-2.6c3.8,-3.8 8.9,-5.9 14.3,-5.9c11.1,0 20.2,9.1 20.2,20.2c0,2.6 -0.5,5.2 -1.5,7.7c-1.2,2.8 -0.9,6 0.7,8.6c1.6,2.6 4.3,4.3 7.3,4.6c15.2,1.3 27.1,14.4 27.1,29.6c0,6.1 -1.9,12 -5.4,17H58.5C55,126 53.1,120.1 53.1,114zM97,492.8L64,150.1h34.4l28.4,342.7H97zM146.1,492.8l-28.4,-342.7h56.2l21.8,342.7H146.1zM214.9,492.8l-21.8,-342.7h64.6l-1.9,20.6c-4.1,0.2 -7.7,3 -8.8,7.1l-8,30.3h-9.9c-4.7,0 -8.7,3.4 -9.5,8l-6.3,38.8c-0.5,2.8 0.3,5.6 2.2,7.8c1.8,2.1 4.5,3.4 7.3,3.4h12.3l18.8,226.7H214.9zM424.9,412h-47.6c-18.7,0 -33.9,-15.2 -33.9,-33.9c0,-9.1 3.5,-17.6 9.9,-24c6.4,-6.4 14.9,-9.9 23.9,-9.9h53.3L424.9,412zM432.1,325h-54.8c-14.2,0 -27.5,5.5 -37.5,15.5c-10,10 -15.5,23.3 -15.5,37.5c0,29.3 23.8,53.1 53.1,53.1h46l-5.1,61.7h-39.6v-0H273l-18.8,-226.7h182.7L432.1,325zM447.4,246.9H243.8h-9.8l3.2,-19.7h9.1h198.6h9.1l3.2,19.7H447.4z"/>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/md_white_1000"
android:pathData="M7,22H4.75C4.75,22 4,22 3.81,20.65L2.04,3.81L2,3.5C2,2.67 2.9,2 4,2C5.1,2 6,2.67 6,3.5C6,2.67 6.9,2 8,2C9.1,2 10,2.67 10,3.5C10,2.67 10.9,2 12,2C13.09,2 14,2.66 14,3.5V3.5C14,2.67 14.9,2 16,2C17.1,2 18,2.67 18,3.5C18,2.67 18.9,2 20,2C21.1,2 22,2.67 22,3.5L21.96,3.81L20.19,20.65C20,22 19.25,22 19.25,22H17L16.5,22H13.75L10.25,22H7.5L7,22M17.85,4.93C17.55,4.39 16.84,4 16,4C15.19,4 14.36,4.36 14,4.87L13.78,20H16.66L17.85,4.93M10,4.87C9.64,4.36 8.81,4 8,4C7.16,4 6.45,4.39 6.15,4.93L7.34,20H10.22L10,4.87Z" />
</vector>

View File

@ -1,12 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="512.0"
android:viewportWidth="512.0">
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M416,64h-32V32c0,-17.6 -14.4,-32 -32,-32H160c-17.6,0 -32,14.4 -32,32v32H96c-17.6,0 -32,14.4 -32,32v32c0,17.6 14.4,32 32,32h2l46.1,338.1C145.2,506.1 152,512 160,512h192c8,0 14.8,-5.9 15.9,-13.9L414,160H416c17.6,0 32,-14.4 32,-32V96C448,78.4 433.6,64 416,64zM160,32h192v32H160V32zM338,480H174l-8.7,-64h181.5L338,480zM351.1,384H160.9l-17.4,-128h225.2L351.1,384zM372.9,224H139.1l-8.7,-64h251.3L372.9,224zM416,128H96V96h320V128z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M256,272c-26.5,0 -48,21.5 -48,48s21.5,48 48,48s48,-21.5 48,-48S282.5,272 256,272zM256,336c-8.8,0 -16,-7.2 -16,-16c0,-8.8 7.2,-16 16,-16c8.8,0 16,7.2 16,16C272,328.8 264.8,336 256,336z" />
</vector>
android:fillColor="@color/md_white_1000"
android:pathData="M3 3V11A4 4 0 0 0 7 15H11A4 4 0 0 0 15 11V10H17C18.11 10 19 9.11 19 8V5C19 3.9 18.11 3 17 3H3M5 5H13V11A2 2 0 0 1 11 13H7A2 2 0 0 1 5 11V5M15 5H17V8H15V5M16.67 13.83L15.26 15.24L17 17H3V19H17L15.26 20.76L16.67 22.17L20.84 18L16.67 13.83Z" />
</vector>

View File

@ -1,9 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="512.0"
android:viewportWidth="512.0">
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M416,96h-16h-73.8l21.3,-64H416c8.8,0 16,-7.2 16,-16c0,-8.8 -7.2,-16 -16,-16h-80c-6.9,0 -13,4.4 -15.2,10.9L292.5,96H112H96c-17.6,0 -32,14.4 -32,32v32c0,17.6 14.4,32 32,32h1.5l30.6,305.6c0.8,8.2 7.7,14.4 15.9,14.4h224c8.2,0 15.1,-6.2 15.9,-14.4l30.6,-305.6H416c17.6,0 32,-14.4 32,-32v-32C448,110.4 433.6,96 416,96zM353.5,480H158.5l-14,-139.7l217.4,55.8L353.5,480zM365.1,363.9l-224,-57.5l-2.9,-29.5l230.1,55.5L365.1,363.9zM371.5,300.2l-236.7,-57.1L129.7,192h252.6L371.5,300.2zM416,160H96v-32h16h288h16V160z" />
android:fillColor="@color/md_white_1000"
android:pathData="M15 11V20A2 2 0 0 1 13 22H11A2 2 0 0 1 9 20V11A2 2 0 0 1 9.6 9.58C11.1 7.89 11 4 11 4H10V2H14V4H13S12.9 7.89 14.4 9.58A2 2 0 0 1 15 11Z" />
</vector>

View File

@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/root"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="?attr/colorSurface">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
@ -16,8 +17,8 @@
android:id="@+id/toolbar"
style="@style/Toolbar"
app:layout_collapseMode="pin"
app:title="@string/support_development"
app:navigationIcon="@drawable/ic_keyboard_backspace_black_24dp"
app:title="@string/support_development"
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
tools:ignore="UnusedAttribute" />

View File

@ -39,7 +39,7 @@
android:layout_height="match_parent"
android:scaleType="centerInside"
app:srcCompat="@drawable/ic_github_circle_white_24dp"
app:tint="?colorOnBackground" />
app:tint="?attr/colorControlNormal" />
</code.name.monkey.retromusic.views.WidthFitSquareLayout>

View File

@ -8,6 +8,7 @@
<item>code_name_monkey_donate_5</item>
<item>code_name_monkey_donate_6</item>
<item>code_name_monkey_donate_7</item>
<item>code_name_monkey_donate_8</item>
</string-array>
<string name="app_name" translatable="false">Retro Music</string>

View File

@ -31,9 +31,11 @@ object ATH {
val decorView = activity.window.decorView
val systemUiVisibility = decorView.systemUiVisibility
if (enabled) {
decorView.systemUiVisibility = systemUiVisibility or View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
decorView.systemUiVisibility =
systemUiVisibility or View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
} else {
decorView.systemUiVisibility = systemUiVisibility and View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR.inv()
decorView.systemUiVisibility =
systemUiVisibility and View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR.inv()
}
}
}
@ -93,7 +95,17 @@ object ATH {
// Task description requires fully opaque color
colorFinal = ColorUtil.stripAlpha(colorFinal)
// Sets color of entry in the system recents page
activity.setTaskDescription(ActivityManager.TaskDescription(activity.title as String?, null, colorFinal))
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
activity.setTaskDescription(
ActivityManager.TaskDescription(
activity.title as String?,
-1,
colorFinal
)
)
} else {
activity.setTaskDescription(ActivityManager.TaskDescription(activity.title as String?))
}
}
}

View File

@ -13,7 +13,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:3.6.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.android.tools.build:bundletool:0.9.0'
classpath "gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:1.0.7"
classpath "gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:1.0.8"
}
}

View File

@ -17,7 +17,6 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 21

View File

@ -3,8 +3,10 @@ org.gradle.daemon=true
org.gradle.parallel=true
jvmArgs='-Xmx2048m'
android.useAndroidX=true
android.enabelR8=true
android.enableR8.fullMode=false
android.enableJetifier=true
android.debug.obsoleteApi=true
android.enableBuildCache=true
android.jetifier.blacklist = butterknife.*\\.jar
kotlin.code.style=official