Merge pull request #169 from CarlosEsco/MD2Tracker

update icons for shikimori and bangumi
This commit is contained in:
Jays2Kings 2020-04-04 14:05:59 -04:00 committed by GitHub
commit dd11367331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 7 additions and 28 deletions

View File

@ -32,7 +32,7 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) {
}
}
override fun getLogo() = R.drawable.tracker_anilist
override fun getLogo() = R.drawable.ic_tracker_anilist
override fun getLogoColor() = Color.rgb(18, 25, 35)

View File

@ -68,9 +68,9 @@ class Bangumi(private val context: Context, id: Int) : TrackService(id) {
return track
}
override fun getLogo() = R.drawable.tracker_bangumi
override fun getLogo() = R.drawable.ic_tracker_bangumi
override fun getLogoColor() = Color.rgb(0xF0, 0x91, 0x99)
override fun getLogoColor() = Color.rgb(240, 145, 153)
override fun getStatusList(): List<Int> {
return listOf(READING, COMPLETED, ON_HOLD, DROPPED, PLANNING)

View File

@ -33,7 +33,7 @@ class Kitsu(private val context: Context, id: Int) : TrackService(id) {
private val api by lazy { KitsuApi(client, interceptor) }
override fun getLogo(): Int {
return R.drawable.tracker_kitsu
return R.drawable.ic_tracker_kitsu
}
override fun getLogoColor(): Int {

View File

@ -17,7 +17,7 @@ class MyAnimeList(private val context: Context, id: Int) : TrackService(id) {
override val name = "MyAnimeList"
override fun getLogo() = R.drawable.tracker_mal
override fun getLogo() = R.drawable.ic_tracker_mal
override fun getLogoColor() = Color.rgb(46, 81, 162)

View File

@ -19,7 +19,7 @@ class Shikimori(private val context: Context, id: Int) : TrackService(id) {
private val api by lazy { ShikimoriApi(client, interceptor) }
override fun getLogo() = R.drawable.tracker_shikimori
override fun getLogo() = R.drawable.ic_tracker_shikimori
override fun getLogoColor() = Color.rgb(40, 40, 40)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 826 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/navigation_drawer_header_height"
android:gravity="bottom"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/drawerColor" />
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_marginStart="16dp"
android:layout_marginTop="@dimen/navigation_drawer_header_margin"
android:scaleType="centerCrop"
android:src="@drawable/tachiyomi_circle" />
</FrameLayout>

View File

@ -34,7 +34,7 @@
android:contentDescription="@string/tracking"
android:layout_height="wrap_content"
android:layout_gravity="center"
tools:src="@drawable/tracker_mal" />
tools:src="@drawable/ic_tracker_mal" />
<ProgressBar
android:id="@+id/progress"