Hello all,

When adding a fragment to an  XML layout file, it seems that one can
use either the class attribute or the android:name attribute to
declare the fragment class, i.e. both  :
<fragment class="my.awesome.fragment"  /> or <fragment
android:name="my.awesome.fragment" /> seem to work.

Is there any difference between the two?  Which attribute should a
fellow prefer: class or android:name?


-- 
http://www.opgenorth.net

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to