Annotation
Use this annotation on a subclass of Screen to specify the layout
resource that should be inflated when that screen is displayed.
This annotation supports three usage forms:
@ScreenLayout("foo")res/layout/foo.xml file. This is the preferred form, since it
performs a more advanced search than the numeric "id" form below.@ScreenLayout(id = R.layout.foo)@ScreenLayoutMyScreen, then this will search for a layout in
res/layout/myscreen.xml, followed by
res/layout/my_screen.xml.
If you leave the @ScreenLayout annotation off a Screen
subclass entirely, the behavior is identical to the third case above.
Methods inherited from
interface
java.lang.annotation.Annotation
| |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
abstract
Class<? extends Annotation>
|
annotationType()
| ||||||||||
abstract
boolean
|
equals(Object arg0)
| ||||||||||
abstract
int
|
hashCode()
| ||||||||||
abstract
String
|
toString()
| ||||||||||