add every icon as drawable

This commit is contained in:
Stefano Sansone 2024-04-07 12:59:35 +02:00
parent 23975fdde1
commit 4cf6bf656b
3 changed files with 22 additions and 5 deletions

View file

@ -1,15 +1,12 @@
package app.omnivore.omnivore.core.designsystem
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Bookmarks
import androidx.compose.material.icons.rounded.Person
import app.omnivore.omnivore.R
object OmnivoreIcons {
val Following = R.drawable.ic_stacks_rounded_fill
val FollowingEmpty = R.drawable.ic_stacks_rounded_empty
val Inbox = Icons.Rounded.Bookmarks
val Inbox = R.drawable.ic_bookmarks_rounded_fill
val InboxEmpty = R.drawable.ic_bookmarks_rounded_empty
val Profile = Icons.Rounded.Person
val Profile = R.drawable.ic_person_rounded_fill
val ProfileEmpty = R.drawable.ic_person_rounded_empty
}

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M120,920L120,280Q120,247 143.5,223.5Q167,200 200,200L600,200Q633,200 656.5,223.5Q680,247 680,280L680,920L400,800L120,920ZM760,800L760,120Q760,120 760,120Q760,120 760,120L240,120L240,40L760,40Q793,40 816.5,63.5Q840,87 840,120L840,800L760,800Z"/>
</vector>

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M480,480Q414,480 367,433Q320,386 320,320Q320,254 367,207Q414,160 480,160Q546,160 593,207Q640,254 640,320Q640,386 593,433Q546,480 480,480ZM160,800L160,688Q160,654 177.5,625.5Q195,597 224,582Q286,551 350,535.5Q414,520 480,520Q546,520 610,535.5Q674,551 736,582Q765,597 782.5,625.5Q800,654 800,688L800,800L160,800Z"/>
</vector>