Merge pull request #573 from android/as/settings-touch-target

Increase touch target for radio button and text link in Settings page
pull/575/head
Angie Sasmita 2 years ago committed by GitHub
commit 2e6579b350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -227,7 +227,7 @@ fun SettingsDialogThemeChooserRow(
role = Role.RadioButton,
onClick = onClick,
)
.padding(8.dp),
.padding(12.dp),
verticalAlignment = Alignment.CenterVertically,
) {
RadioButton(
@ -285,6 +285,7 @@ private fun TextLink(text: String, url: String) {
style = MaterialTheme.typography.labelLarge,
color = MaterialTheme.colorScheme.primary,
modifier = Modifier
.padding(vertical = 8.dp)
.clickable {
ContextCompat.startActivity(context, launchResourceIntent, null)
},

Loading…
Cancel
Save