diff --git a/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/readingpreferences/ReadingPreferencesScreen.kt b/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/readingpreferences/ReadingPreferencesScreen.kt index 4fb7a92b216b..f7ae9bbac88b 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/readingpreferences/ReadingPreferencesScreen.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/reader/views/compose/readingpreferences/ReadingPreferencesScreen.kt @@ -98,6 +98,13 @@ fun ReadingPreferencesScreen( onNavigationIconClick = onCloseClick, backgroundColor = backgroundColor, contentColor = baseTextColor, + actions = { + ExperimentalBadge( + contentColor = textColor, + fontFamily = fontFamily, + modifier = Modifier.padding(end = Margin.Large.value), + ) + } ) // Preview section @@ -232,6 +239,23 @@ fun ReadingPreferencesScreen( } } +@Composable +private fun ExperimentalBadge( + contentColor: Color, + fontFamily: FontFamily, + modifier: Modifier = Modifier, +) { + Text( + text = stringResource(R.string.experimental_badge), + modifier = modifier, + style = TextStyle( + color = contentColor.copy(alpha = 0.6f), + fontWeight = FontWeight.Medium, + fontFamily = fontFamily, + ), + ) +} + @Composable private fun ReadingPreferencesPreviewFeedback( onSendFeedbackClick: () -> Unit, diff --git a/WordPress/src/main/res/values/strings.xml b/WordPress/src/main/res/values/strings.xml index 634a93666360..41803994841e 100644 --- a/WordPress/src/main/res/values/strings.xml +++ b/WordPress/src/main/res/values/strings.xml @@ -120,6 +120,8 @@ Me Everyone + <Experimental> + %d selected