package com.lesharicotsrouge.scoopapp import android.os.Bundle import…
- User
package com.lesharicotsrouge.scoop_app
import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Card import androidx.compose.material3.CardDefaults import androidx.compose.material3.ElevatedCard import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.tooling.preview.Preview import com.lesharicotsrouge.scoop_app.ui.theme.Scoop_appTheme import androidx.compose.ui.unit.dp import androidx.compose.ui.text.style.TextAlign import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.material3.Button
class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContent { Scoop_appTheme { // A surface container using the 'background' color from the theme Surface( modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background ) } } } }
//@Preview(showBackground = true)
i want a card with button
- Assistant
- User
crée moi une app bar avec une icon search, une bottom bar, et une liste de card scrollable verticable
- Assistant