xml - Android - Unknown attribute style on a fragment tag -


can please explain me why getting warning in android studio 1.1.0:

unknown attribute style
full warning: inspection highlights unknown xml attributes in android resource files , androidmanifest.xml

here code snippet:

<fragment     android:id="@+id/frag_logo"     tools:layout="@layout/fragment_logo"     style="@style/fragmentlogo"/> 

the warning occurs on style attribute.

i using gradle , android build tools 21.1.2

the style attribute supported views (and inheritance viewgroups), fragments don't support it.


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -