Sunday, February 9, 2014

An Activity and xml problem


            
When I first build a project, it will automatically generate an xml file, but when my second time to create a new class, how would not generate the corresponding xml file in the layout, and the corresponding xml and class files are generated automatically or manually build? ? ?
Reply:
Online ah

Seeking answers to a haste
Reply:
A class can correspond to a layout, but not required, many can also be used directly to generate xml code.
Reply:
The landlord can not rely too IDE ah! The IDE to help you create a build of a class can be for more than one layout, you can only correspond to a layout, see usage scenarios, in general, the best build-it-yourself layout, it helps to understand, not too rely on IDE tools to help you build, unless you are already familiar with the
Reply:
reference to the second floor tcmakebest reply:
a class can correspond to a layout, but not required, many can also be used to generate code directly xml .


Thank you, friends, or yourself Well
Reply:
reference to the third floor ncepu307 reply:
landlord, not too rely on IDE ah! The IDE to help you create a build of a class can be for more than one layout, you can only correspond to a layout, see usage scenarios, in general, the best build-it-yourself layout, it helps to understand, not too rely on IDE tools to help you build, unless you are already familiar with the


Grace decided to do it yourself!

No comments:

Post a Comment