I general layout is such
Of course, this is only part,
Layout is largely the case, but I do not want to configure using the full xml file, because if all are written in an xml file, then it is too big. .
I was so conceived,
The first layer code files,
The second layer is a code used to implement,
The second layer 2 using xml to achieve
The second layer 3 using code to implement,
When the second layer is implemented with xml there is a problem, I do not know how to load a separate written specifically for this layout xml file.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
September 10 posts. . .
Reply:
View view1 = View.inflate (this, R.layout.XX, null);
Reply:
Xml loaded as shown and you can use the ls and ViewStub ah Who include non-write 10 lines of a few tens are xml code
No comments:
Post a Comment