VENKOOL IT
HOME
TUTORIALS
PROGRAMS
USER QUESTIONS
++++++++++ Best Blog for Learning ANDROID ++++++++++
Tuesday, 19 March 2013
How to inflate xml ?
Posted by
Unknown
1)For Layout xml:
LayoutInflater li=getLayoutInflater();
li.inflate(R.layout.
activity_main
,
null
);
2)For Menu xml:
MenuInflater mi=getMenuInflater();
mi.inflate(R.menu.
activity_main
, menu);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment