main.xml usually takes a 'TextView'. But what if you wanted to use a 'custom' view instead?
to do this:
1. have a class that extends a View
2. define its constructor: public CONSTR(Context, AttributeSet, int)
3. in xml type in manually
< com.domain.package.CONSTR >
etc
< / com.domain.package.CONSTR >
No comments:
Post a Comment