forked from androidannotations/androidannotations
-
Notifications
You must be signed in to change notification settings - Fork 0
WindowFeatureAndFullscreen
Damien edited this page Dec 24, 2013
·
2 revisions
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 {
}Since AndroidAnnotations 2.2
Since AndroidAnnotations 3.0 this annotation is deprecated and
@WindowFeatureshould be used instead
This annotation requests the Window feature Window.FEATURE_NO_TITLE.
@NoTitle
public class MyActivity extends Activity {
}Since AndroidAnnotations 2.2
This annotation adds the Window flag LayoutParams.FLAG_FULLSCREEN.
@Fullscreen
public class MyActivity extends Activity {
}AndroidAnnotations was created by Pierre-Yves Ricau and is sponsored by eBusinessInformations.
09/11/2014 The 3.2 release is out !
- Get started!
- Download
- Cookbook, full of recipes
- Customize annotation processing
- List of all available annotations
- Release Notes
- Examples
- Read the FAQ
- Join the Mailing list
- Create an issue
- Tag on Stack Overflow