Skip to content

Commit

Permalink
Add new up next icon that is vertically centered
Browse files Browse the repository at this point in the history
  • Loading branch information
mchowning committed Apr 27, 2023
1 parent 45fd017 commit 0c140bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions modules/services/images/src/main/res/drawable/upnext.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="12dp"
android:height="12dp"
android:viewportWidth="12"
android:viewportHeight="12">
<path
android:pathData="M1.5,2.236C1.5,1.829 1.96,1.593 2.291,1.829L4.43,3.357C4.71,3.557 4.71,3.972 4.43,4.171L2.291,5.699C1.96,5.936 1.5,5.699 1.5,5.293V2.236Z"
android:fillColor="#03A9F4"/>
<path
android:pathData="M6,3.75C6,3.336 6.336,3 6.75,3H10.5C10.914,3 11.25,3.336 11.25,3.75C11.25,4.164 10.914,4.5 10.5,4.5H6.75C6.336,4.5 6,4.164 6,3.75ZM3.75,6.75C3.75,6.336 4.086,6 4.5,6H10.5C10.914,6 11.25,6.336 11.25,6.75C11.25,7.164 10.914,7.5 10.5,7.5H4.5C4.086,7.5 3.75,7.164 3.75,6.75ZM4.5,9C4.086,9 3.75,9.336 3.75,9.75C3.75,10.164 4.086,10.5 4.5,10.5H10.5C10.914,10.5 11.25,10.164 11.25,9.75C11.25,9.336 10.914,9 10.5,9H4.5Z"
android:fillColor="#03A9F4"
android:fillType="evenOdd"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun EpisodeChip(episode: BaseEpisode, onClick: () -> Unit) {
) {
if (isInUpNextQueue) {
Icon(
painter = painterResource(R.drawable.ic_upnext),
painter = painterResource(R.drawable.upnext),
contentDescription = stringResource(LR.string.episode_in_up_next),
tint = MaterialTheme.theme.colors.support01,
modifier = Modifier.size(12.dp),
Expand Down

0 comments on commit 0c140bb

Please sign in to comment.