Hi, Guys
Before I start, please do feel free to comment it my method of dealing with this prelaunch report is not the best method!
Anyway, I am having a problem relating to Google Play content labeling warnings in the prelaunch report.
Normally I use the Accessibility library to handle this problem, i.e.
However, I now have a compiler warning relating to B4XSwitch when using the above method on a B4XSwitch.
It appears I need to cast the type to android.view.View, but there appears no As() operator for this custom view (if that would work anyway).
I also experience similar problems with using this method on other customer views - so a general answer would be appreciated.
Kind regards and as always thanks for any help.
Dave Morris
Before I start, please do feel free to comment it my method of dealing with this prelaunch report is not the best method!
Anyway, I am having a problem relating to Google Play content labeling warnings in the prelaunch report.
Normally I use the Accessibility library to handle this problem, i.e.
Fixes for warnings relating to panels:
#if B4A
Dim acc As Accessibility
' This removes the pre-launch content labeling warnings.
acc.SetContentDescription(pnlPlayerListClickDelete, "Delete icon") ' This removes the pre-launch content labeling warnings.
acc.SetContentDescription(pnlPlayerListMask, "Player list")
#End If
However, I now have a compiler warning relating to B4XSwitch when using the above method on a B4XSwitch.
Compiler warning:
#if B4A
Dim acc As Accessibility
acc.SetContentDescription(swHHMMSSres, "Time resolution") ' <-- gives a "types do not match" Compiler warning.
#End If
It appears I need to cast the type to android.view.View, but there appears no As() operator for this custom view (if that would work anyway).
I also experience similar problems with using this method on other customer views - so a general answer would be appreciated.
Kind regards and as always thanks for any help.
Dave Morris
Last edited: