Details about attributes of Android topic and drawable state

Source: Internet
Author: User

Details about attributes of Android topic and drawable state

************************** ******Android: theme = "@ android: style/Theme. dieme ": the Activity is displayed in the Dialog box mode android: theme =" @ android: style/Theme. noTitleBar ": do not display the application title bar android: theme =" @ android: style/Theme. noTitleBar. fullscreen ": The application title bar is not displayed, and the full screen android: theme =" Theme. light ": the background is white android: theme =" Theme. light. noTitleBar ": the white background does not have a title bar. android: theme =" Theme. light. noTitleBar. fullscreen ": white background, no title bar, full screen android: theme =" Theme. black ": Background Black android: theme =" Theme. black. noTitleBar ": The black background does not have a title bar. android: theme =" Theme. black. noTitleBar. fullscreen ": black background, no title bar, full screen android: theme =" Theme. wallpaper ": Background android: theme =" Theme. wallpaper. noTitleBar ": uses the system desktop as the background of the application without the title bar android: theme =" Theme. wallpaper. noTitleBar. fullscreen ": uses the system desktop as the background of the application without a title bar. Full Screen android: theme =" Theme. translucent: transparent background android: theme = "Theme. translucent. noTitleBar ": transparent background with no title android: theme =" Theme. translucent. noTitleBar. fullscreen ": transparent background with no title, full screen android: theme =" Theme. panel ": Panel style display android: theme =" Theme. light. panel ": Flat Panel style display
Details about the drawable state attributes of AndroidAndroid: drawable: whether to hold a drawable resource android: state_pressed, such as a button to touch or click. Android: state_focused indicates whether to obtain the focus. For example, you have selected a text box. Android: state_hovered: whether to hover the cursor. It is usually the same as the focused state. It is a new feature of 4.0. android: state_selected is selected. It is not exactly the same as the focus state, if a list view is selected, its child components may be selected through the direction keys. Android: whether the state_checkable component can be checked. For example, RadioButton can be checked. Android: state_checked has been checked. For example, a RadioButton can be checked. Android: state_enabled: whether the android: state_activated android: state_window_focused application is active at the front end, when a notification bar is pulled down or a dialog box pops up, the application will not be in the foreground. Note: if there are multiple items, the program will automatically match from top to bottom, the first match will be applied. (Not through the best match) If an item does not have any state description, it can be matched by any State.


Related Article

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.