Removing some icons and refactoring a few

Will refactor the rest 2 commits later
This commit is contained in:
Jay 2020-05-21 02:11:18 -04:00
parent 3067807798
commit e76805160c
19 changed files with 14 additions and 14 deletions

View File

@ -148,7 +148,7 @@ open class MainActivity : BaseActivity(), DownloadServiceListener {
this, R.drawable.ic_search_white_24dp this, R.drawable.ic_search_white_24dp
) )
dismissDrawable = ContextCompat.getDrawable( dismissDrawable = ContextCompat.getDrawable(
this, R.drawable.ic_close_white_24dp this, R.drawable.ic_close_24dp
) )
var continueSwitchingTabs = false var continueSwitchingTabs = false

View File

@ -55,7 +55,7 @@ class MigrationProcessHolder(
R.drawable.ic_more_vert_black_24dp, view.context.getResourceColor(android.R.attr.textColorPrimary) R.drawable.ic_more_vert_black_24dp, view.context.getResourceColor(android.R.attr.textColorPrimary)
) )
skip_manga.setVectorCompat( skip_manga.setVectorCompat(
R.drawable.ic_close_white_24dp, view.context.getResourceColor( R.drawable.ic_close_24dp, view.context.getResourceColor(
android.R.attr.textColorPrimary android.R.attr.textColorPrimary
) )
) )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -178,6 +178,6 @@
android:clickable="true" android:clickable="true"
android:contentDescription="@string/close" android:contentDescription="@string/close"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:tint="@color/gray_button" /> android:tint="@color/gray_button" />
</FrameLayout> </FrameLayout>

View File

@ -233,6 +233,6 @@
android:clickable="true" android:clickable="true"
android:contentDescription="@string/close" android:contentDescription="@string/close"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:tint="@color/gray_button" /> android:tint="@color/gray_button" />
</FrameLayout> </FrameLayout>

View File

@ -20,7 +20,7 @@
android:layout_gravity="end|center" android:layout_gravity="end|center"
android:contentDescription="@string/cancel" android:contentDescription="@string/cancel"
android:layout_marginEnd="21dp" android:layout_marginEnd="21dp"
android:src="@drawable/ic_close_white_24dp" /> android:src="@drawable/ic_close_24dp" />
</FrameLayout> </FrameLayout>
<FrameLayout <FrameLayout
@ -38,7 +38,7 @@
android:layout_gravity="start|center" android:layout_gravity="start|center"
android:layout_marginStart="21dp" android:layout_marginStart="21dp"
android:tint="@color/md_white_1000" android:tint="@color/md_white_1000"
android:src="@drawable/ic_close_white_24dp" /> android:src="@drawable/ic_close_24dp" />
</FrameLayout> </FrameLayout>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -57,7 +57,7 @@
android:contentDescription="@string/clear" android:contentDescription="@string/clear"
android:focusable="true" android:focusable="true"
android:padding="3dp" android:padding="3dp"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:tint="@color/gray_button" /> android:tint="@color/gray_button" />
</LinearLayout> </LinearLayout>

View File

@ -127,7 +127,7 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:padding="4dp" android:padding="4dp"
android:src="@drawable/ic_refresh_white_24dp" android:src="@drawable/ic_refresh_24dp"
android:tint="@color/gray_button" android:tint="@color/gray_button"
android:tooltipText="@string/update" android:tooltipText="@string/update"
app:layout_constraintBottom_toBottomOf="@id/category_title" app:layout_constraintBottom_toBottomOf="@id/category_title"

View File

@ -69,5 +69,5 @@
app:layout_constraintEnd_toEndOf="@+id/migration_menu" app:layout_constraintEnd_toEndOf="@+id/migration_menu"
app:layout_constraintStart_toStartOf="@+id/migration_menu" app:layout_constraintStart_toStartOf="@+id/migration_menu"
app:layout_constraintTop_toTopOf="@+id/migration_menu" app:layout_constraintTop_toTopOf="@+id/migration_menu"
app:srcCompat="@drawable/ic_close_white_24dp" /> app:srcCompat="@drawable/ic_close_24dp" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -323,6 +323,6 @@
android:clickable="true" android:clickable="true"
android:contentDescription="@string/close" android:contentDescription="@string/close"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:tint="@color/gray_button" /> android:tint="@color/gray_button" />
</FrameLayout> </FrameLayout>

View File

@ -21,7 +21,7 @@
android:gravity="center" android:gravity="center"
android:layout_marginEnd="21dp" android:layout_marginEnd="21dp"
android:contentDescription="@string/cancel" android:contentDescription="@string/cancel"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:text="@string/hide" android:text="@string/hide"
android:textColor="@color/md_white_1000" /> android:textColor="@color/md_white_1000" />
</FrameLayout> </FrameLayout>
@ -40,7 +40,7 @@
android:layout_gravity="start|center" android:layout_gravity="start|center"
android:layout_marginStart="21dp" android:layout_marginStart="21dp"
android:gravity="center" android:gravity="center"
android:src="@drawable/ic_close_white_24dp" android:src="@drawable/ic_close_24dp"
android:text="@string/hide" android:text="@string/hide"
android:textColor="@color/md_white_1000" /> android:textColor="@color/md_white_1000" />
</FrameLayout> </FrameLayout>

View File

@ -21,7 +21,7 @@
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorSecondary" android:background="?attr/colorSecondary"
android:theme="?attr/actionBarTheme" android:theme="?attr/actionBarTheme"
app:navigationIcon="@drawable/ic_close_white_24dp" app:navigationIcon="@drawable/ic_close_24dp"
app:layout_scrollFlags="scroll|enterAlways|snap" /> app:layout_scrollFlags="scroll|enterAlways|snap" />
</com.google.android.material.appbar.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>

View File

@ -46,7 +46,7 @@
<item <item
android:id="@+id/action_refresh_tracking" android:id="@+id/action_refresh_tracking"
android:icon="@drawable/ic_refresh_white_24dp" android:icon="@drawable/ic_refresh_24dp"
android:title="@string/refresh_tracking" android:title="@string/refresh_tracking"
app:showAsAction="never" /> app:showAsAction="never" />