dboshardy
dboshardy

Reputation: 522

No Fragment.java file created when add new Fragment (Blank) in Android Studio

I'm using the latest Android Studio. When creating a new Fragment (New... > Fragment > Fragment), it should create new YourFragment.java and fragment_your.xml files in the project. When I do this with a ListFragment, it works fine. But when using the default blank fragment, it creates the appropriate .xml file, but it does not create the Fragment.java file. No errors are thrown, it simply creates a .xml file.

Upvotes: 0

Views: 206

Answers (1)

Scott Barta
Scott Barta

Reputation: 80020

This is bug https://code.google.com/p/android/issues/detail?id=69078 and will be fixed in the next release.

Upvotes: 1

Related Questions