Hi,

I am new to Android development.

When I am trying to create a new activity, it always ends in 3 files.
1)  ****.java
2) activity_****.xml
3) content_****.xml

I just wonder why it is creating two layout xml files?.

By this post, what I am trying to find is... 

Is that the supposed way it should be created with two xml files for every 
new activity?, 
or just one activity_***.xml for the main and then separate content_***.xml 
for each additional activities?.

All my googling ends in pages that explaining what these files are and how 
these are getting created in a simple first android application.

My question is to know about those two xml files only if a developer 
creates second or more activities...


Hope, my question is clear.

Even though all sort of answers you think that will help to answer this 
question are welcome.

Please try to short your answer, like 'why it is', or 'how it is'  cause 
those are much easier to understand, and we can raise the next question if 
we need more clarification.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/aa7fa728-e5df-4272-902c-24e858ce7e00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to