Replace check circle PNGs with a vector drawable.
This commit is contained in:
parent
0b25365330
commit
5bf7a33903
@ -219,7 +219,7 @@ public class SelectAppsView extends SwapView implements LoaderManager.LoaderCall
|
|||||||
int resource;
|
int resource;
|
||||||
int colour;
|
int colour;
|
||||||
if (checked) {
|
if (checked) {
|
||||||
resource = R.drawable.ic_check_circle_white;
|
resource = R.drawable.ic_check_circle;
|
||||||
colour = getResources().getColor(R.color.swap_bright_blue);
|
colour = getResources().getColor(R.color.swap_bright_blue);
|
||||||
} else {
|
} else {
|
||||||
resource = R.drawable.ic_add_circle_outline;
|
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 |
5
app/src/full/res/drawable/ic_check_circle.xml
Normal file
5
app/src/full/res/drawable/ic_check_circle.xml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user