[CredManUi] Updated corner radius of credential card
Following the spec, it should be 28dp, before it was using the 12dp default from M3. Bug: 271168418 Test: manual (see bug for screenshot) Change-Id: I15fa5c4fbd2414f070f383fa164296c0eafaa0f9
This commit is contained in:
@@ -31,6 +31,7 @@ import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.unit.dp
|
||||
import com.android.credentialmanager.ui.theme.Shapes
|
||||
|
||||
/**
|
||||
* Container card for the whole sheet.
|
||||
@@ -83,7 +84,7 @@ fun CredentialContainerCard(
|
||||
) {
|
||||
Card(
|
||||
modifier = modifier.fillMaxWidth().wrapContentHeight(),
|
||||
shape = MaterialTheme.shapes.medium,
|
||||
shape = Shapes.medium,
|
||||
border = null,
|
||||
colors = CardDefaults.cardColors(
|
||||
containerColor = Color.Transparent,
|
||||
|
||||
Reference in New Issue
Block a user