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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -