Skip to content

Commit

Permalink
[chore] #206 태그들 영역 비율로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Aug 28, 2024
1 parent a2add03 commit a6d8f04
Showing 1 changed file with 47 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,53 @@ fun CourseDetailInfoBar(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically
) {
Image(
painter = painterResource(id = R.drawable.ic_all_money_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = totalCostTag,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
Spacer(modifier = Modifier.width(25.dp))
Image(
painter = painterResource(id = R.drawable.ic_all_clock_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = totalTime,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
Spacer(modifier = Modifier.width(25.dp))
Image(
painter = painterResource(id = R.drawable.ic_all_location_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = city,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
Row(
modifier = Modifier.weight(116f),
verticalAlignment = Alignment.CenterVertically
) {
Image(
painter = painterResource(id = R.drawable.ic_all_money_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = totalCostTag,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
}

Row(
modifier = Modifier.weight(86f),
verticalAlignment = Alignment.CenterVertically
) {
Image(
painter = painterResource(id = R.drawable.ic_all_clock_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = totalTime,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
}

Row(
modifier = Modifier.weight(122f),
verticalAlignment = Alignment.CenterVertically
) {
Image(
painter = painterResource(id = R.drawable.ic_all_location_14),
contentDescription = null
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = city,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
}
}
}

Expand Down

0 comments on commit a6d8f04

Please sign in to comment.