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 -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -