There are several ways to set the background of the interface to black:
- New Project the next time after next (different SDK versions may be different), Background color item click Optional.
- To develop the layout file, select View View is the first of the two tabs below (graphical), then there is a
Apptheme Click->theme-> top three items (theme.black, etc.) can be
- Set the android:background= "#000000" property inside your outermost layout
- In manifest, in the activity attribute, add any of the below ( set white, white color value #FFFFFF theme.light, etc. )
system comes with style android:theme
? android:theme= "@android: Style/theme.dialog" displays an activity as a dialog box mode
android:theme= "@android: Style/theme.notitlebar" does not show the application title bar
? android:theme= "@android: Style/theme.notitlebar.fullscreen" does not display the application title bar and fullscreen
android:theme= "Theme.light" background for white
android:theme= "Theme.Light.NoTitleBar" white background with no title bar
android:theme= "Theme.Light.NoTitleBar.Fullscreen" white background, no title bar, fullscreen
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, fullscreen
? android:theme= "Theme.wallpaper" with System desktop for application background
? android:theme= "Theme.Wallpaper.NoTitleBar" uses the system desktop as the application background with no title bar
? android:theme= "Theme.Wallpaper.NoTitleBar.Fullscreen" with System desktop for application background, no title bar, fullscreen
? android:theme= "Translucent"
? android:theme= "Theme.Translucent.NoTitleBar"
? android:theme= "Theme.Translucent.NoTitleBar.Fullscreen"
? android:theme= "Theme.panel"
? android:theme= "Theme.Light.Panel"
and a way to set the background of the edit box.
Set the edit box style to add a background image to the box,
give a feelhttp://www.easyicon.net/1116240-input_icon.htmlDownload the largest 96px PNG format.
Rename after download (Note that you cannot have capital letters), and then copy to the Res folder under any folder that starts with drawable.
EditText Setting Properties Android:background= "@drawable/text_img" in the layout file