profile
This commit is contained in:
parent
3cbb8161d8
commit
67bc04bf17
@ -5,6 +5,7 @@ import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.activity.enableEdgeToEdge
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
@ -13,6 +14,7 @@ import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.fillMaxHeight
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.offset
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
@ -52,6 +54,7 @@ class MainActivity : ComponentActivity() {
|
||||
PiiiiiiiiiiigTheme {
|
||||
LoginScreen()
|
||||
FindUser()
|
||||
Profile()
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -203,3 +206,31 @@ fun FindUser() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Composable
|
||||
fun Profile() {
|
||||
val cor = rememberCoroutineScope()
|
||||
Surface {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxSize().background(Color.White),
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
Box(
|
||||
modifier = Modifier.fillMaxWidth().height(200.dp)
|
||||
.background(Color(red = 231, green = 113, blue = 113))
|
||||
) {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxSize().background(Color.White),
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
Box(
|
||||
modifier = Modifier.size(80.dp).background(Color(red = 231, green = 113, blue = 113))
|
||||
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user