@@ -23,13 +23,16 @@ import androidx.compose.ui.Alignment
23
23
import androidx.compose.ui.Modifier
24
24
import androidx.compose.ui.res.painterResource
25
25
import androidx.compose.ui.text.style.TextAlign
26
+ import androidx.compose.ui.tooling.preview.Preview
26
27
import androidx.compose.ui.unit.dp
27
28
import com.record.designsystem.R
29
+ import com.record.designsystem.component.button.RecordyButton
28
30
import com.record.designsystem.component.navbar.TopNavigationBar
29
31
import com.record.designsystem.component.textfield.RecordyBasicTextField
30
32
import com.record.designsystem.theme.Background
31
33
import com.record.designsystem.theme.RecordyTheme
32
34
import com.record.ui.extension.customClickable
35
+ import timber.log.Timber
33
36
34
37
@Composable
35
38
fun VideoPickerRoute (
@@ -64,7 +67,7 @@ fun VideoPickerScreen(
64
67
) {
65
68
TopNavigationBar (title = " 영상 선택" , enableGradation = true )
66
69
Text (
67
- text = " ⓘ 최대 1분의 1080p 영상을 올려주세요. " ,
70
+ text = " ⓘ 주제와 무관한 기록은 무통보로 삭제될 수 있습니다 " ,
68
71
color = RecordyTheme .colors.gray03,
69
72
style = RecordyTheme .typography.caption2,
70
73
maxLines = 1 ,
@@ -95,7 +98,7 @@ fun VideoPickerScreen(
95
98
modifier = Modifier .padding(bottom = 12 .dp)
96
99
)
97
100
Text (
98
- text = " 영상 선택 " ,
101
+ text = " 내용 작성 " ,
99
102
color = RecordyTheme .colors.white,
100
103
style = RecordyTheme .typography.subtitle,
101
104
)
@@ -107,23 +110,23 @@ fun VideoPickerScreen(
107
110
style = RecordyTheme .typography.subtitle,
108
111
modifier = Modifier .padding(top = 22 .dp, bottom = 12 .dp)
109
112
)
110
-
111
- Row (
112
- modifier = Modifier
113
+ Row (modifier = Modifier
113
114
.background(RecordyTheme .colors.gray08, shape = RoundedCornerShape (30 .dp))
115
+ .padding(vertical = 8 .dp)
116
+ .padding(start = 8 .dp, end = 12 .dp)
114
117
.customClickable(onClick = onClickKeyword),
115
- verticalAlignment = Alignment .CenterVertically ,
116
- horizontalArrangement = Arrangement .Center
117
- ) {
118
- Image (
119
- painter = painterResource(id = R .drawable.ic_plus_25 ),
120
- contentDescription = null ,
121
- )
122
- Text (
123
- text = " 키워드" ,
124
- color = RecordyTheme .colors.gray03,
125
- style = RecordyTheme .typography.body2M,
126
- )
118
+ verticalAlignment = Alignment .CenterVertically ,
119
+ horizontalArrangement = Arrangement .Center
120
+ ) {
121
+ Image (
122
+ painter = painterResource(id = R .drawable.ic_plus_16 ),
123
+ contentDescription = null ,
124
+ )
125
+ Text (
126
+ text = " 키워드" ,
127
+ color = RecordyTheme .colors.gray03,
128
+ style = RecordyTheme .typography.body2M,
129
+ )
127
130
}
128
131
Text (
129
132
text = " 위치" ,
@@ -148,9 +151,25 @@ fun VideoPickerScreen(
148
151
placeholder = " 공간에 대한 나의 생각을 자유롭게 적어주세요!" ,
149
152
maxLines = 20 ,
150
153
maxLength = 300 ,
154
+ minHeight = 148 .dp,
151
155
value = normalValue,
156
+ modifier = Modifier .padding(bottom = 10 .dp),
152
157
onValueChange = { normalValue = it },
153
158
)
159
+ RecordyButton (
160
+ // modifier = Modifier.padding(16.dp),
161
+ text = " 키워드" ,
162
+ enabled = false ,
163
+ onClick = { Timber .d(" basic key word" ) },
164
+ )
154
165
}
155
166
}
156
167
}
168
+
169
+ @Preview
170
+ @Composable
171
+ fun VideoPickerScreenPreview () {
172
+ RecordyTheme {
173
+ VideoPickerScreen (navigateSelectedKeyword = { /* TODO*/ })
174
+ }
175
+ }
0 commit comments