S. Chirag
S. Chirag

Reputation: 117

why there are two files in my layout folder in android studio while there are only one in of others?

My android studio has a folder named layout which has two files

while the tutorials I have been watching has only one file

How it's going to effect me? What should I do?

Upvotes: 0

Views: 162

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007584

My android studio has a folder named layout which has two files activity.xml content.xml while the tutorials I have been watching has only one file activity.xml

The videos that you are watching are using a different version of Android Studio, a different template than the one that you chose when setting up your project, or both.

How it's going to effect me?

The code in your IDE will be different than that shown in the videos, most likely.

What should I do?

You could:

  • Use educational materials (books, videos, whatever) that are up to date with whatever version of Android Studio that you are using, or

  • Try to install the older version of Android Studio used by your videos, or

  • Simply watch the videos without attempting to reproduce them step-by-step in Android Studio

Upvotes: 1

Related Questions