android - Adding dynamic content in Linear Layout -
i'm working on android app, when user taps on icon, layout defined (for now) in main layout slides information.
the problem have icons of different types, when 1 clicks on 1 type of icon or another, information in pop should different (there different objects different structures behind icons).
what possibilities have? programmatic way not seem elegant enough. there templating frameworks in android? please provide examples, too.
you sub-class icons (that means types shown each icon), having each 1 it's own fragment sub-class, can use different layout on fragment.
here more info fragments
Comments
Post a Comment