You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add child view to ElevatedView and PitView but getting below error .
club.cred.synth.views.ElevatedView cannot be cast to android.view.ViewGroup
Caused by: java.lang.ClassCastException: club.cred.synth.views.ElevatedView cannot be cast to android.view.ViewGroup****
How to add views to Elevated and PitView
The text was updated successfully, but these errors were encountered:
PitView and ElevatedView are not ViewGroups and hence you can't add any view to them. They serve as pure aesthetic views.
You can create your ViewGroup as per your requirement and constrain PitView/ElevatedView to that ViewGroup. Also, do take a look at the sample app as it has some examples.
Hi ,
I tried to add child view to ElevatedView and PitView but getting below error .
How to add views to Elevated and PitView
The text was updated successfully, but these errors were encountered: