diff options
| author | 2025-01-24 12:31:13 +0000 | |
|---|---|---|
| committer | 2025-01-24 12:32:56 +0000 | |
| commit | 10959b9e4b9a986428f827f0c494197c5a02ca56 (patch) | |
| tree | e46966c11bde0eaaa38247a0515adae8f0ccd100 | |
| parent | 91044ef20778b1b8ddd89f84602e234146ca129b (diff) | |
Align description in customization dialog to center
Flag: com.android.systemui.keyboard_shortcut_helper_shortcut_customizer
Fix: 387317417
Test: Manual
Change-Id: I262c73a552e726c5ba9b9f09b3d5104ea96d15a8
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ShortcutCustomizer.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ShortcutCustomizer.kt b/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ShortcutCustomizer.kt index 4aea44341e17..6e9265167b7d 100644 --- a/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ShortcutCustomizer.kt +++ b/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/ShortcutCustomizer.kt @@ -62,6 +62,7 @@ import androidx.compose.ui.semantics.contentDescription import androidx.compose.ui.semantics.liveRegion import androidx.compose.ui.semantics.semantics import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.android.compose.ui.graphics.painter.rememberDrawablePainter @@ -402,6 +403,7 @@ private fun Description(text: String) { .width(316.dp) .wrapContentSize(Alignment.Center), color = MaterialTheme.colorScheme.onSurfaceVariant, + textAlign = TextAlign.Center ) } |