From c32f475bdea5186a061d62f705ea728fbeb93ffb Mon Sep 17 00:00:00 2001 From: himalia416 Date: Mon, 13 Oct 2025 14:33:43 +0200 Subject: [PATCH] Display text changed --- .../view/channelSounding/ChannelSoundingScreen.kt | 10 ++++++++-- profile/src/main/res/values/channelSoundingStrings.xml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/profile/src/main/java/no/nordicsemi/android/toolbox/profile/view/channelSounding/ChannelSoundingScreen.kt b/profile/src/main/java/no/nordicsemi/android/toolbox/profile/view/channelSounding/ChannelSoundingScreen.kt index d5b2ac23..349cda82 100644 --- a/profile/src/main/java/no/nordicsemi/android/toolbox/profile/view/channelSounding/ChannelSoundingScreen.kt +++ b/profile/src/main/java/no/nordicsemi/android/toolbox/profile/view/channelSounding/ChannelSoundingScreen.kt @@ -96,7 +96,10 @@ private fun ChannelSoundingNotEnabledView() { .fillMaxWidth(), contentAlignment = Alignment.Center ) { - Text(stringResource(R.string.channel_sounding_not_enabled)) + Text( + text = stringResource(R.string.channel_sounding_not_enabled), + textAlign = TextAlign.Center + ) } } } @@ -122,7 +125,10 @@ private fun ChannelSoundingNotSupportedView() { .fillMaxWidth(), contentAlignment = Alignment.Center ) { - Text(stringResource(R.string.channel_sounding_not_supported)) + Text( + text = stringResource(R.string.channel_sounding_not_supported), + textAlign = TextAlign.Center + ) } } } diff --git a/profile/src/main/res/values/channelSoundingStrings.xml b/profile/src/main/res/values/channelSoundingStrings.xml index 42fa5971..5a19be17 100644 --- a/profile/src/main/res/values/channelSoundingStrings.xml +++ b/profile/src/main/res/values/channelSoundingStrings.xml @@ -3,7 +3,7 @@ Channel Sounding Channel Sounding is not supported on this Android version. - Channel Sounding is supported on this device, but it is currently disabled due to potential accuracy and performance issues. For the best experience, we recommend using a device running Android 16 (API 36, minor version 1) or later. + Channel Sounding is supported on Android 16 QPR2 or later. Please update your device to the latest software to use this feature. Initiating ranging Reconnecting session Ranging session stopped