Replace check circle PNGs with a vector drawable.

This commit is contained in:
Isira Seneviratne 2020-09-25 15:26:09 +05:30
parent 0b25365330
commit 5bf7a33903
7 changed files with 6 additions and 2 deletions

View File

@ -219,7 +219,7 @@ public class SelectAppsView extends SwapView implements LoaderManager.LoaderCall
int resource;
int colour;
if (checked) {
resource = R.drawable.ic_check_circle_white;
resource = R.drawable.ic_check_circle;
colour = getResources().getColor(R.color.swap_bright_blue);
} else {
resource = R.drawable.ic_add_circle_outline;
@ -230,5 +230,4 @@ public class SelectAppsView extends SwapView implements LoaderManager.LoaderCall
}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFFFFF" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM10,17l-5,-5 1.41,-1.41L10,14.17l7.59,-7.59L19,8l-9,9z"/>
</vector>