WindowFeatureAndFullscreen - PerfectCarl/androidannotations GitHub Wiki
@WindowFeature
Since AndroidAnnotations 3.0
You can customize your window features by using @WindowFeature
on an enhanced activity.
The annotation value should be one or several of Window FEATURE_*
constants.
@WindowFeature({ Window.FEATURE_NO_TITLE, Window.FEATURE_INDETERMINATE_PROGRESS })
@EActivity
public class MyActivity extends Activity {
}
@NoTitle
Since AndroidAnnotations 2.2
Since AndroidAnnotations 3.0 this annotation is deprecated and
@WindowFeature
should be used instead
This annotation requests the Window feature Window.FEATURE_NO_TITLE
.
@NoTitle
public class MyActivity extends Activity {
}
@Fullscreen
Since AndroidAnnotations 2.2
This annotation adds the Window flag LayoutParams.FLAG_FULLSCREEN
.
@Fullscreen
public class MyActivity extends Activity {
}