diff --git a/app/src/main/java/org/sopt/dateroad/presentation/type/EmptyViewType.kt b/app/src/main/java/org/sopt/dateroad/presentation/type/EmptyViewType.kt index 3629af85d..916b98fbb 100644 --- a/app/src/main/java/org/sopt/dateroad/presentation/type/EmptyViewType.kt +++ b/app/src/main/java/org/sopt/dateroad/presentation/type/EmptyViewType.kt @@ -10,11 +10,11 @@ enum class EmptyViewType( ) { POINT_HISTORY_GAINED_HISTORY( titleRes = R.string.empty_view_point_history_earn_history, - imageRes = R.drawable.ic_empty_point_history_plus + imageRes = R.drawable.img_empty_point_history_gained_history ), POINT_HISTORY_USED_HISTORY( titleRes = R.string.empty_view_point_history_usage_history, - imageRes = R.drawable.ic_empty_point_history_minus + imageRes = R.drawable.img_empty_point_history_used_history ), READ( titleRes = R.string.empty_view_read, diff --git a/app/src/main/java/org/sopt/dateroad/presentation/ui/component/view/DateRoadEmptyView.kt b/app/src/main/java/org/sopt/dateroad/presentation/ui/component/view/DateRoadEmptyView.kt index 55a95601e..95d11f114 100644 --- a/app/src/main/java/org/sopt/dateroad/presentation/ui/component/view/DateRoadEmptyView.kt +++ b/app/src/main/java/org/sopt/dateroad/presentation/ui/component/view/DateRoadEmptyView.kt @@ -43,7 +43,7 @@ fun DateRoadEmptyView( .fillMaxWidth() .padding(horizontal = 20.dp), text = stringResource(id = emptyViewType.titleRes), - color = DateRoadTheme.colors.gray500, + color = DateRoadTheme.colors.gray300, style = DateRoadTheme.typography.titleBold18, textAlign = TextAlign.Center ) diff --git a/app/src/main/java/org/sopt/dateroad/presentation/ui/mycourse/MyCourseScreen.kt b/app/src/main/java/org/sopt/dateroad/presentation/ui/mycourse/MyCourseScreen.kt index 3ba32d965..82eb09e6b 100644 --- a/app/src/main/java/org/sopt/dateroad/presentation/ui/mycourse/MyCourseScreen.kt +++ b/app/src/main/java/org/sopt/dateroad/presentation/ui/mycourse/MyCourseScreen.kt @@ -11,6 +11,7 @@ import androidx.compose.foundation.lazy.items import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue +import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalLifecycleOwner import androidx.compose.ui.res.stringResource @@ -107,7 +108,8 @@ fun MyCourseScreen( item { Box( modifier = Modifier - .fillParentMaxSize() + .fillParentMaxSize(), + contentAlignment = Alignment.Center ) { DateRoadEmptyView( emptyViewType = when (myCourseUiState.myCourseType) { diff --git a/app/src/main/res/drawable/ic_empty_point_history_minus.xml b/app/src/main/res/drawable/ic_empty_point_history_minus.xml deleted file mode 100644 index ec2315941..000000000 --- a/app/src/main/res/drawable/ic_empty_point_history_minus.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_empty_point_history_plus.xml b/app/src/main/res/drawable/ic_empty_point_history_plus.xml deleted file mode 100644 index 8644c543f..000000000 --- a/app/src/main/res/drawable/ic_empty_point_history_plus.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/drawable/img_empty_point_history_gained_history.xml b/app/src/main/res/drawable/img_empty_point_history_gained_history.xml new file mode 100644 index 000000000..44d3f842c --- /dev/null +++ b/app/src/main/res/drawable/img_empty_point_history_gained_history.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/img_empty_point_history_used_history.xml b/app/src/main/res/drawable/img_empty_point_history_used_history.xml new file mode 100644 index 000000000..935a2f4e8 --- /dev/null +++ b/app/src/main/res/drawable/img_empty_point_history_used_history.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + +