diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/model/Search.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/model/Search.kt index d22a41edb4..28eda384f0 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/model/Search.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/model/Search.kt @@ -17,6 +17,7 @@ package com.example.jetsnack.model import androidx.compose.runtime.Immutable +import com.example.jetsnack.R import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.delay import kotlinx.coroutines.withContext @@ -44,7 +45,7 @@ data class SearchCategoryCollection( @Immutable data class SearchCategory( val name: String, - val imageUrl: String + val imageRes: Int ) @Immutable @@ -65,19 +66,19 @@ private val searchCategoryCollections = listOf( categories = listOf( SearchCategory( name = "Chips & crackers", - imageUrl = "https://source.unsplash.com/UsSdMZ78Q3E" + imageRes = R.drawable.chips ), SearchCategory( name = "Fruit snacks", - imageUrl = "https://source.unsplash.com/SfP1PtM9Qa8" + imageRes = R.drawable.fruit, ), SearchCategory( name = "Desserts", - imageUrl = "https://source.unsplash.com/_jk8KIyN_uA" + imageRes = R.drawable.desserts ), SearchCategory( - name = "Nuts ", - imageUrl = "https://source.unsplash.com/UsSdMZ78Q3E" + name = "Nuts", + imageRes = R.drawable.nuts, ) ) ), @@ -87,27 +88,27 @@ private val searchCategoryCollections = listOf( categories = listOf( SearchCategory( name = "Organic", - imageUrl = "https://source.unsplash.com/7meCnGCJ5Ms" + imageRes = R.drawable.organic ), SearchCategory( name = "Gluten Free", - imageUrl = "https://source.unsplash.com/m741tj4Cz7M" + imageRes = R.drawable.gluten_free ), SearchCategory( name = "Paleo", - imageUrl = "https://source.unsplash.com/dt5-8tThZKg" + imageRes = R.drawable.paleo, ), SearchCategory( name = "Vegan", - imageUrl = "https://source.unsplash.com/ReXxkS1m1H0" + imageRes = R.drawable.vegan, ), SearchCategory( - name = "Vegitarian", - imageUrl = "https://source.unsplash.com/IGfIGP5ONV0" + name = "Vegetarian", + imageRes = R.drawable.organic, ), SearchCategory( name = "Whole30", - imageUrl = "https://source.unsplash.com/9MzCd76xLGk" + imageRes = R.drawable.paleo ) ) ) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/model/Snack.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/model/Snack.kt index 7ef141543b..ba2f3bcdee 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/model/Snack.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/model/Snack.kt @@ -16,13 +16,16 @@ package com.example.jetsnack.model +import androidx.annotation.DrawableRes import androidx.compose.runtime.Immutable +import com.example.jetsnack.R @Immutable data class Snack( val id: Long, val name: String, - val imageUrl: String, + @DrawableRes + val imageRes: Int, val price: Long, val tagline: String = "", val tags: Set = emptySet() @@ -37,190 +40,190 @@ val snacks = listOf( id = 1L, name = "Cupcake", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/pGM4sjt_BdQ", + imageRes = R.drawable.cupcake, price = 299 ), Snack( id = 2L, name = "Donut", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/Yc5sL-ejk6U", + imageRes = R.drawable.donut, price = 299 ), Snack( id = 3L, name = "Eclair", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/-LojFX9NfPY", + imageRes = R.drawable.eclair, price = 299 ), Snack( id = 4L, name = "Froyo", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/3U2V5WqK1PQ", + imageRes = R.drawable.froyo, price = 299 ), Snack( id = 5L, name = "Gingerbread", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/Y4YR9OjdIMk", + imageRes = R.drawable.gingerbread, price = 499 ), Snack( id = 6L, name = "Honeycomb", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/bELvIg_KZGU", + imageRes = R.drawable.honeycomb, price = 299 ), Snack( id = 7L, name = "Ice Cream Sandwich", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/YgYJsFDd4AU", + imageRes = R.drawable.ice_cream_sandwich, price = 1299 ), Snack( id = 8L, name = "Jellybean", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/0u_vbeOkMpk", + imageRes = R.drawable.jelly_bean, price = 299 ), Snack( id = 9L, name = "KitKat", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/yb16pT5F_jE", + imageRes = R.drawable.kitkat, price = 549 ), Snack( id = 10L, name = "Lollipop", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/AHF_ZktTL6Q", + imageRes = R.drawable.lollipop, price = 299 ), Snack( id = 11L, name = "Marshmallow", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/rqFm0IgMVYY", + imageRes = R.drawable.marshmallow, price = 299 ), Snack( id = 12L, name = "Nougat", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/qRE_OpbVPR8", + imageRes = R.drawable.nougat, price = 299 ), Snack( id = 13L, name = "Oreo", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/33fWPnyN6tU", + imageRes = R.drawable.oreo, price = 299 ), Snack( id = 14L, name = "Pie", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/aX_ljOOyWJY", + imageRes = R.drawable.pie, price = 299 ), Snack( id = 15L, name = "Chips", - imageUrl = "https://source.unsplash.com/UsSdMZ78Q3E", + imageRes = R.drawable.chips, price = 299 ), Snack( id = 16L, name = "Pretzels", - imageUrl = "https://source.unsplash.com/7meCnGCJ5Ms", + imageRes = R.drawable.pretzels, price = 299 ), Snack( id = 17L, name = "Smoothies", - imageUrl = "https://source.unsplash.com/m741tj4Cz7M", + imageRes = R.drawable.smoothies, price = 299 ), Snack( id = 18L, name = "Popcorn", - imageUrl = "https://source.unsplash.com/iuwMdNq0-s4", + imageRes = R.drawable.popcorn, price = 299 ), Snack( id = 19L, name = "Almonds", - imageUrl = "https://source.unsplash.com/qgWWQU1SzqM", + imageRes = R.drawable.almonds, price = 299 ), Snack( id = 20L, name = "Cheese", - imageUrl = "https://source.unsplash.com/9MzCd76xLGk", + imageRes = R.drawable.cheese, price = 299 ), Snack( id = 21L, name = "Apples", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/1d9xXWMtQzQ", + imageRes = R.drawable.apples, price = 299 ), Snack( id = 22L, name = "Apple sauce", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/wZxpOw84QTU", + imageRes = R.drawable.apple_sauce, price = 299 ), Snack( id = 23L, name = "Apple chips", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/okzeRxm_GPo", + imageRes = R.drawable.apple_chips, price = 299 ), Snack( id = 24L, name = "Apple juice", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/l7imGdupuhU", + imageRes = R.drawable.apple_juice, price = 299 ), Snack( id = 25L, name = "Apple pie", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/bkXzABDt08Q", + imageRes = R.drawable.apple_pie, price = 299 ), Snack( id = 26L, name = "Grapes", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/y2MeW00BdBo", + imageRes = R.drawable.grapes, price = 299 ), Snack( id = 27L, name = "Kiwi", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/1oMGgHn-M8k", + imageRes = R.drawable.kiwi, price = 299 ), Snack( id = 28L, name = "Mango", tagline = "A tag line", - imageUrl = "https://source.unsplash.com/TIGDsyy0TK4", + imageRes = R.drawable.mango, price = 299 ) ) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/components/Snacks.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/components/Snacks.kt index 55343180c1..5418cd5dc6 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/components/Snacks.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/components/Snacks.kt @@ -17,6 +17,7 @@ package com.example.jetsnack.ui.components import android.content.res.Configuration.UI_MODE_NIGHT_YES +import androidx.annotation.DrawableRes import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box @@ -50,7 +51,6 @@ import androidx.compose.ui.graphics.Color import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.LocalDensity -import androidx.compose.ui.res.painterResource import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.Density @@ -58,7 +58,6 @@ import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp import coil.compose.AsyncImage import coil.request.ImageRequest -import com.example.jetsnack.R import com.example.jetsnack.model.CollectionType import com.example.jetsnack.model.Snack import com.example.jetsnack.model.SnackCollection @@ -194,7 +193,7 @@ fun SnackItem( .padding(8.dp) ) { SnackImage( - imageUrl = snack.imageUrl, + imageRes = snack.imageRes, elevation = 4.dp, contentDescription = null, modifier = Modifier.size(120.dp) @@ -254,7 +253,7 @@ private fun HighlightSnackItem( ) ) SnackImage( - imageUrl = snack.imageUrl, + imageRes = snack.imageRes, contentDescription = null, modifier = Modifier .size(120.dp) @@ -283,7 +282,8 @@ private fun HighlightSnackItem( @Composable fun SnackImage( - imageUrl: String, + @DrawableRes + imageRes: Int, contentDescription: String?, modifier: Modifier = Modifier, elevation: Dp = 0.dp @@ -296,11 +296,10 @@ fun SnackImage( ) { AsyncImage( model = ImageRequest.Builder(LocalContext.current) - .data(imageUrl) + .data(imageRes) .crossfade(true) .build(), contentDescription = contentDescription, - placeholder = painterResource(R.drawable.placeholder), modifier = Modifier.fillMaxSize(), contentScale = ContentScale.Crop, ) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/cart/Cart.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/cart/Cart.kt index dea5881635..9e55c89f88 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/cart/Cart.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/cart/Cart.kt @@ -322,7 +322,7 @@ fun CartItem( val (divider, image, name, tag, priceSpacer, price, remove, quantity) = createRefs() createVerticalChain(name, tag, priceSpacer, price, chainStyle = ChainStyle.Packed) SnackImage( - imageUrl = snack.imageUrl, + imageRes = snack.imageRes, contentDescription = null, modifier = Modifier .size(100.dp) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Categories.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Categories.kt index b8241148b8..14794ac765 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Categories.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Categories.kt @@ -42,6 +42,7 @@ import androidx.compose.ui.layout.Layout import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.Constraints import androidx.compose.ui.unit.dp +import com.example.jetsnack.R import com.example.jetsnack.model.SearchCategory import com.example.jetsnack.model.SearchCategoryCollection import com.example.jetsnack.ui.components.SnackImage @@ -121,7 +122,7 @@ private fun SearchCategory( .padding(start = 8.dp) ) SnackImage( - imageUrl = category.imageUrl, + imageRes = category.imageRes, contentDescription = null, modifier = Modifier.fillMaxSize() ) @@ -161,7 +162,7 @@ private fun SearchCategoryPreview() { SearchCategory( category = SearchCategory( name = "Desserts", - imageUrl = "" + imageRes = R.drawable.desserts ), gradient = JetsnackTheme.colors.gradient3_2 ) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Results.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Results.kt index 016927f12e..4626bbf5c4 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Results.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/search/Results.kt @@ -104,7 +104,7 @@ private fun SearchResult( ) } SnackImage( - imageUrl = snack.imageUrl, + imageRes = snack.imageRes, contentDescription = null, modifier = Modifier .size(100.dp) diff --git a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/snackdetail/SnackDetail.kt b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/snackdetail/SnackDetail.kt index d5a5e02b26..e3a3593640 100644 --- a/Jetsnack/app/src/main/java/com/example/jetsnack/ui/snackdetail/SnackDetail.kt +++ b/Jetsnack/app/src/main/java/com/example/jetsnack/ui/snackdetail/SnackDetail.kt @@ -104,7 +104,7 @@ fun SnackDetail( Header() Body(related, scroll) Title(snack) { scroll.value } - Image(snack.imageUrl) { scroll.value } + Image(snack.imageRes) { scroll.value } Up(upPress) CartBottomBar(modifier = Modifier.align(Alignment.BottomCenter)) } @@ -283,7 +283,7 @@ private fun Title(snack: Snack, scrollProvider: () -> Int) { @Composable private fun Image( - imageUrl: String, + imageRes: Int, scrollProvider: () -> Int ) { val collapseRange = with(LocalDensity.current) { (MaxTitleOffset - MinTitleOffset).toPx() } @@ -296,7 +296,7 @@ private fun Image( modifier = HzPadding.statusBarsPadding() ) { SnackImage( - imageUrl = imageUrl, + imageRes = imageRes, contentDescription = null, modifier = Modifier.fillMaxSize() ) diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/almonds.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/almonds.jpg new file mode 100644 index 0000000000..85ff0eec39 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/almonds.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/apple_chips.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/apple_chips.jpg new file mode 100644 index 0000000000..37c805d169 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/apple_chips.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/apple_juice.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/apple_juice.jpg new file mode 100644 index 0000000000..d519dbcd46 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/apple_juice.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/apple_pie.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/apple_pie.jpg new file mode 100644 index 0000000000..41096b2216 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/apple_pie.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/apple_sauce.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/apple_sauce.jpg new file mode 100644 index 0000000000..7f5331ee24 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/apple_sauce.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/apples.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/apples.jpg new file mode 100644 index 0000000000..cc729f1646 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/apples.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/cheese.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/cheese.jpg new file mode 100644 index 0000000000..c5c6dce61c Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/cheese.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/chips.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/chips.jpg new file mode 100644 index 0000000000..04d5fe2cd3 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/chips.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/cupcake.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/cupcake.jpg new file mode 100644 index 0000000000..117e26c095 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/cupcake.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/desserts.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/desserts.jpg new file mode 100644 index 0000000000..6d44990765 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/desserts.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/donut.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/donut.jpg new file mode 100644 index 0000000000..076896a812 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/donut.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/eclair.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/eclair.jpg new file mode 100644 index 0000000000..5601780345 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/eclair.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/froyo.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/froyo.jpg new file mode 100644 index 0000000000..e1bb068cc9 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/froyo.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/fruit.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/fruit.jpg new file mode 100644 index 0000000000..b9a63d8f49 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/fruit.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/gingerbread.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/gingerbread.jpg new file mode 100644 index 0000000000..a3b4bd8da9 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/gingerbread.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/gluten_free.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/gluten_free.jpg new file mode 100644 index 0000000000..fd86cd9928 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/gluten_free.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/grapes.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/grapes.jpg new file mode 100644 index 0000000000..3b573787cf Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/grapes.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/honeycomb.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/honeycomb.jpg new file mode 100644 index 0000000000..ea632bd25d Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/honeycomb.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/ice_cream_sandwich.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/ice_cream_sandwich.jpg new file mode 100644 index 0000000000..fd77631e9a Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/ice_cream_sandwich.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/jelly_bean.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/jelly_bean.jpg new file mode 100644 index 0000000000..84a10208c9 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/jelly_bean.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/kitkat.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/kitkat.jpg new file mode 100644 index 0000000000..75b2e44abb Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/kitkat.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/kiwi.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/kiwi.jpg new file mode 100644 index 0000000000..2197fbd48f Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/kiwi.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/lollipop.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/lollipop.jpg new file mode 100644 index 0000000000..98d1db7d2f Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/lollipop.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/mango.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/mango.jpg new file mode 100644 index 0000000000..717773d7b5 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/mango.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/marshmallow.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/marshmallow.jpg new file mode 100644 index 0000000000..cdc1159226 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/marshmallow.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/nougat.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/nougat.jpg new file mode 100644 index 0000000000..1a844d9b9f Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/nougat.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/nuts.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/nuts.jpg new file mode 100644 index 0000000000..1e1aadc30d Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/nuts.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/oreo.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/oreo.jpg new file mode 100644 index 0000000000..cf2c3e534c Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/oreo.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/organic.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/organic.jpg new file mode 100644 index 0000000000..2847abf4f0 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/organic.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/paleo.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/paleo.jpg new file mode 100644 index 0000000000..1f905b43ae Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/paleo.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/pie.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/pie.jpg new file mode 100644 index 0000000000..439c18cfbb Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/pie.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/placeholder.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/placeholder.jpg index 26617a9595..31e05faacb 100644 Binary files a/Jetsnack/app/src/main/res/drawable-nodpi/placeholder.jpg and b/Jetsnack/app/src/main/res/drawable-nodpi/placeholder.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/popcorn.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/popcorn.jpg new file mode 100644 index 0000000000..02713ffdbf Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/popcorn.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/pretzels.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/pretzels.jpg new file mode 100644 index 0000000000..51de633490 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/pretzels.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/smoothies.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/smoothies.jpg new file mode 100644 index 0000000000..f2eaa31bf1 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/smoothies.jpg differ diff --git a/Jetsnack/app/src/main/res/drawable-nodpi/vegan.jpg b/Jetsnack/app/src/main/res/drawable-nodpi/vegan.jpg new file mode 100644 index 0000000000..29276a68b7 Binary files /dev/null and b/Jetsnack/app/src/main/res/drawable-nodpi/vegan.jpg differ