Chinaunix首页 | 论坛 | 博客
  • 博客访问: 444505
  • 博文数量: 67
  • 博客积分: 2468
  • 博客等级: 上尉
  • 技术积分: 1050
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-05 01:21
文章分类

全部博文(67)

文章存档

2013年(1)

2012年(65)

2011年(1)

分类: 嵌入式

2012-08-13 17:09:06

初学,在熟悉android中的控件,配置xml中各个控件的属性值,从而改变控件的视觉效果。

            android:

使用“Alt+/”可以得到很好的提示,包括各个属性,其可能的取值。

eclipse中的快捷键很好用呢……

View extends
implements
   ↳ android.view.View
Known Direct Subclasses
Known Indirect Subclasses
Base class that can be used to implement virtualized lists of items. 
 
An abstract base class for spinner widgets. 
This class is deprecated. Use , or a custom layout instead.  
An AdapterView is a view whose children are determined by an . 
Base class for a that will perform animations when switching between its views. 
Simple that will animate between two or more views that have been added to it. 
Provides the glue to show AppWidget views. 

An editable text view that shows completion suggestions automatically while the user is typing. 

Represents a push-button widget. 
This class is a calendar widget for displaying and selecting dates. 

A checkbox is a specific type of two-states button that can be either checked or unchecked. 

An extension to TextView that supports the interface. 
Class that implements a simple timer. 

A button with two states, checked and unchecked. 

This class is a widget for selecting a date. 
 
Like AnalogClock, but digital. 
EditText is a thin veneer over TextView that configures itself to be editable. 
A view that shows items in a vertically scrolling two-level list. 
Specialization of for showing and interacting with the extracted text in a full-screen input method. 
Helper class for showing "bread crumbs" representing the fragment stack in an activity. 
FrameLayout is designed to block out an area on the screen to display a single item. 
An implementation of SurfaceView that uses the dedicated surface for displaying OpenGL rendering. 
This class is deprecated. This widget is no longer supported. Other horizontally scrolling widgets include and from the support library.  
A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets. 
A layout that places its children in a rectangular grid
A view that shows items in two-dimensional scrolling grid. 
Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. 

Displays a button with an image (instead of text) that can be pressed or clicked by the user. 

 
A Layout that arranges its children in a single column or a single row. 
A view that shows items in a vertically scrolling list. 
A view containing controls for a MediaPlayer. 
An editable text view, extending , that can show completion suggestions for the substring of the text where the user is typing instead of necessarily for the entire thing. 
A widget that enables the user to select a number form a predefined range. 
PagerTabStrip is an interactive indicator of the current, next, and previous pages of a . 
PagerTitleStrip is a non-interactive indicator of the current, next, and previous pages of a . 
Widget used to show an image with the standard QuickContact badge and on-click behavior. 
This class is deprecated. in API 16 The Surface View for a graphics renderscript (RenderScriptGL) to draw on.
Developer Guides

For more information about creating an application that uses Renderscript, read the developer guide.

 
This class is deprecated. in API 16 The Texture View for a graphics renderscript (RenderScriptGL) to draw on.  

A radio button is a two-states button that can be either checked or unchecked. 

This class is used to create a multiple-exclusion scope for a set of radio buttons. 

A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars. 
A Layout where the positions of the children can be described in relation to each other or to the parent. 
Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. 
A widget that provides a user interface for the user to enter a search query and submit a request to a search provider. 
A SeekBar is an extension of ProgressBar that adds a draggable thumb. 
SlidingDrawer hides content out of the screen and allows the user to drag a handle to bring the content on screen. 
A view that displays one child at a time and lets the user pick among them. 
 
A Switch is a two-state toggle switch widget that can select between two options. 
Container for a tabbed window view. 
Displays a list of tab labels representing each page in the parent's tab collection. 

A layout that arranges its children into rows and columns. 

A layout that arranges its children horizontally. 

Specialized that contains only children of type . 
A view for selecting the time of day, in either 24 hour or AM/PM mode. 
Displays checked/unchecked states as a button with a "light" indicator and by default accompanied with the text "ON" or "OFF". 

A view group with two children, intended for use in ListViews. 

Displays a video file. 
Base class for a container that will perform animations when switching between its views. 
Simple that will animate between two or more views that have been added to it. 
Layout manager that allows the user to flip left and right through pages of data. 
that switches between two views, and has a factory from which these views are created. 

A View that displays web pages. 

 
The ZoomControls class displays a simple set of controls used for zooming and provides callbacks to register for events. 
阅读(3544) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~