@@ -2,17 +2,21 @@ package com.ninecraft.booket.feature.record.step
22
33import androidx.compose.foundation.background
44import androidx.compose.foundation.layout.Arrangement
5+ import androidx.compose.foundation.layout.Box
56import androidx.compose.foundation.layout.Column
7+ import androidx.compose.foundation.layout.FlowRow
68import androidx.compose.foundation.layout.Row
79import androidx.compose.foundation.layout.Spacer
810import androidx.compose.foundation.layout.fillMaxSize
911import androidx.compose.foundation.layout.fillMaxWidth
1012import androidx.compose.foundation.layout.height
1113import androidx.compose.foundation.layout.imePadding
1214import androidx.compose.foundation.layout.padding
15+ import androidx.compose.foundation.layout.width
1316import androidx.compose.foundation.relocation.BringIntoViewRequester
1417import androidx.compose.foundation.relocation.bringIntoViewRequester
1518import androidx.compose.foundation.rememberScrollState
19+ import androidx.compose.foundation.shape.RoundedCornerShape
1620import androidx.compose.foundation.text.KeyboardOptions
1721import androidx.compose.foundation.verticalScroll
1822import androidx.compose.material3.ExperimentalMaterial3Api
@@ -28,6 +32,7 @@ import androidx.compose.runtime.rememberCoroutineScope
2832import androidx.compose.runtime.setValue
2933import androidx.compose.ui.Alignment
3034import androidx.compose.ui.Modifier
35+ import androidx.compose.ui.draw.clip
3136import androidx.compose.ui.focus.FocusRequester
3237import androidx.compose.ui.focus.focusRequester
3338import androidx.compose.ui.focus.onFocusChanged
@@ -90,11 +95,34 @@ fun ImpressionStep(
9095 .padding(bottom = 16 .dp)
9196 .verticalScroll(scrollState),
9297 ) {
93- Text (
94- text = stringResource(R .string.impression_step_title),
95- color = ReedTheme .colors.contentPrimary,
96- style = ReedTheme .typography.heading1Bold,
97- )
98+ FlowRow (
99+ itemVerticalAlignment = Alignment .CenterVertically ,
100+ modifier = Modifier .fillMaxWidth(),
101+ ) {
102+ Text (
103+ text = stringResource(R .string.impression_step_title),
104+ color = ReedTheme .colors.contentPrimary,
105+ style = ReedTheme .typography.heading1Bold,
106+ )
107+ Spacer (modifier = Modifier .width(10 .dp))
108+ Box (
109+ modifier = Modifier
110+ .clip(RoundedCornerShape (ReedTheme .radius.xs))
111+ .background(ReedTheme .colors.bgTertiary),
112+ ) {
113+ Text (
114+ text = stringResource(R .string.select),
115+ modifier = Modifier .padding(
116+ start = ReedTheme .spacing.spacing2,
117+ top = ReedTheme .spacing.spacing05,
118+ end = ReedTheme .spacing.spacing2,
119+ bottom = ReedTheme .spacing.spacing05,
120+ ),
121+ color = ReedTheme .colors.contentBrand,
122+ style = ReedTheme .typography.caption1Regular,
123+ )
124+ }
125+ }
98126 Spacer (modifier = Modifier .height(ReedTheme .spacing.spacing1))
99127 Text (
100128 text = stringResource(R .string.impression_step_description),
0 commit comments