Skip to content Skip to sidebar Skip to footer

Android, Instead Of Creating A New Activity, It Creates An Activity With Fragment

I am developing an Android app, and last week I updates a few packages (dont remember which ones exactly) using SDK Manager. After restarting Eclipse, whenever I create a new Activ

Solution 1:

I think you are using Android Studio and and yes, Android Studio does create one fragment and an extra method when you create your application..

It's not an issue,.. you can just delete that fragment.xml and that extra code that's with some condition and the whole additional method for the fragment.

Then it will be fine.. I don't know why exactly it happens in Android Studio.

Post a Comment for "Android, Instead Of Creating A New Activity, It Creates An Activity With Fragment"