Android built-in Activity style (@ android: style/), android @ android

Source: Internet
Author: User

(Switch) Android system comes with Activity style (@ android: style/), android @ android

Configure in the activity of the AndroidManifest. xml file

1. android: theme = "@ android: style/Theme"

The default status is theme.

2. android: theme = "@ android: style/Theme. NoDisplay"

Nothing is displayed. This method is applicable when only the activity is run, but nothing is displayed.

3. android: theme = "@ android: style/Theme. NoTitleBar"

The style of the background topic without a title bar. If it is not set by default, the black background is displayed.

4. android: theme = "@ android: style/Theme. NoTitleBar. Fullscreen"

The style of the background topic without a title bar and full screen. The default is black background.

5. android: theme = "@ android: style/Theme. Black"

Black background by default

6. android: theme = "@ android: style/Theme. Black. NoTitleBar"

Style with no title bar for a black background topic

7. android: theme = "@ android: style/Theme. Black. NoTitleBar. Fullscreen"

Black background theme with no title bar and full screen Style

8. android: theme = "@ android: style/Theme. Light"

The background is highlighted by default, which is opposite to Theme. Black.

9. android: theme = "@ android: style/Theme. Light. NoTitleBar"

The style with no title bar in the highlighted background topic, opposite to Theme. Black. NoTitleBar

10. android: theme = "@ android: style/Theme. Light. NoTitleBar. Fullscreen"

The style with no title bar and full screen display on the highlighted background subject, which is opposite to Theme. Black. NoTitleBa. Fullscreenr.

11. android: theme = "@ android: style/Theme. Dialog"

The dialog box style changes the entire activity to the dialog box style.

12. android: theme = "@ android: style/Theme. InputMethod"

Window animations that are applied to input method overlay windows

13. android: theme = "@ android: style/Theme. Panel"

Delete all unnecessary window decorations and fill in the content in an empty rectangular box. The function scope is equivalent to removing all elements in the dialog. It is just an empty Rectangular Box, and this is the default style.

14. android: theme = "@ android: style/Theme. Light. Panel"

Delete all unnecessary window decorations and fill in the content in an empty rectangle. The function scope is equivalent to removing all elements in the dialog. It is just an empty rectangle and the default is the light style.

15. android: theme = "@ android: style/Theme. Wallpaper"

Use wallpaper as the topic, default status.

16. android: theme = "@ android: style/Theme. WallpaperSettings"

Use wallpaper as the topic. By default, after the previous interface is dimmed, it is used as the topic.

17. android: theme = "@ android: style/Theme. Light. WallpaperSettings"

Use wallpaper as the theme, default Light status

18. android: theme = "@ android: style/Theme. Wallpaper. NoTitleBar"

Use wallpaper as the theme without a title bar

19. android: theme = "@ android: style/Theme. Wallpaper. NoTitleBar. Fullscreen"

Use wallpaper as the theme without a title bar and display it in full screen

20. android: theme = "@ android: style/Theme. Translucent"

The background in the translucent state. The screen before the activity is run is used as the style when the activity is run.

21. android: theme = "@ android: style/Theme. Translucent. NoTitleBar"

The background without a title bar in the translucent state. The screen before the activity is run as the translucent state as the style of the activity runtime.

22. android: theme = "@ android: style/Theme. Translucent. NoTitleBar. Fullscreen"

If there is no title bar and a full-screen background in the translucent state, the screen before the activity is run as the translucent state as the style when the activity is run.

Reproduced in: http://blog.csdn.net/hongya1109110121/article/details/11985545

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.