android - How can I add a layout to my customized view -
android - How can I add a layout to my customized view -
i have class extends view , in creating customized view. @ step want add together layout created here in tis question customized view.
i referred examples but seem have same problem reversed, have layout , want add together customized layout it.
how can add together layout customized view?
maybe class should extends viewgroup instead of view.
with viewgroup able utilize addview() add together inflated layout in custom view.
for more info on addview take @ android doc
android android-layout android-linearlayout android-custom-view
Comments
Post a Comment