Sorry pal no ideas this time, but if you are setting the view in the first place then maybe you can store the values that were used to create the view to use later as required? Just an idea if it's a view that is created in code?
You can use this code to get these values for views with ColorDrawable background.
B4X:
If GetType(Label1.Background) = "anywheresoftware.b4a.objects.drawable.ColorDrawable$GradientDrawableWithCorners" Then
Dim cd As ColorDrawable = Label1.Background
Dim jo As JavaObject = cd
Log($"Radius = ${jo.GetField("cornerRadius")}, BorderWidth = ${jo.GetField("borderWidth")}"$)
End If