How to add children in to a view?
How to add children in to a view (Android)?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Nov 24, 2014, 6:47 PM EST
I don't know android language but i find it for you.
Instead of
ViewuseViewGroupto extend yourCustomViewclass..A ViewGroup is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers.
you can't do this as per this reference for more information check this link