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.

http://i.hizliresim.com/kgmjvq.png

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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -