Android Theme and drawable state various properties

Source: Internet
Author: User

<strong><span style= "FONT-SIZE:24PX;" >*********android*** theme ********************************</span></strong>android:theme= "@android: Style/theme.dialog ": Activity is displayed as dialog mode Android:theme=" @android: Style/theme.notitlebar ": Do not display the application title bar Android:theme=" @ Android:style/theme.notitlebar.fullscreen ": Do not display the application title bar and full screen android:theme=" theme.light ": White android:theme=" Background " Theme.Light.NoTitleBar ": White background with no 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 ": Black background with no title bar Android:theme=" Theme.Black.NoTitleBar.Fullscreen ": Black background, no title bar, full screen android:theme=" Theme.wallpaper ": Use the system desktop for the application background android:theme=" Theme.Wallpaper.NoTitleBar ": Use the system desktop for the application background, and no title bar Android:theme=" Theme.Wallpaper.NoTitleBar.Fullscreen ": Use System desktop for application background, no title bar, full screen android:theme= "theme.translucent: Transparent Background android:theme=" Theme.Translucent.NoTitleBar ": Transparent background with no caption android:theme= "Theme.Translucent.NoTitleBar.Fullscreen": Transparent background with no caption, full screen android:theme= "Theme.panel": Panel style display Android:theme=" Theme.Light.Panel ": Tablet style display 
<strong><span style= "FONT-SIZE:32PX;" >android drawable State Various properties </span></strong>android:drawable put a drawable resource android:state_pressed Whether to press, like a button to touch or tap. Whether the android:state_focused has the focus, such as when a user selects a text box. Android:state_hovered the cursor is hovering, usually the same as focused state, which is a new feature of 4.0 android:state_selected is selected, which is not exactly the same as the focus state, such as a list When the view is selected, the various sub-components within it may be selected through the arrow keys. Whether the Android:state_checkable component can be check. For example: RadioButton can be check. Android:state_checked was checked, such as: A RadioButton can be check. Android:state_enabled can accept touch or click event android:state_activated is activated android:state_window_focused the app is in the foreground, When a notification bar is pulled down or a dialog box pops up, the application is out of the foreground. Note: If you have more than one item, the program will automatically match from top to bottom, and the first match will be applied. (not through Best Bets) if an item does not have any status descriptions, it can be matched by any one of the states.


Android Theme and drawable state various properties

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.