android - Eclipse creates fragment layout automatically, how can i disable it -
i dont want use fragments , fragment layout. possible disable eclipse's property? firstly, create class , xml files declare them in android manifest file works me takes long time if can disable it, easier.
while creating new application, copy layout name fragment layout name(eg:activity_main)
voila! activity without fragment part.
remove part of code activity
if (savedinstancestate == null) { getsupportfragmentmanager().begintransaction() .add(r.id.container, new placeholderfragment()) .commit();
clean project.
Comments
Post a Comment