Android:scaletype:
Android:scaletype is a size that controls how the picture resized/moved to the ImageView. The meaning difference of Imageview.scaletype/android:scaletype value:
Center/center is centered on the original size of the image, and when the picture is longer/wider than the length/width of the view, the center portion of the image is displayed
Center_crop/centercrop proportionally enlarges the size of the image so that the image is long (wide) equal to or greater than the length (width) of the view
Center_inside/centerinside Displays the contents of the picture in full, by scaling it down or the original size to make the picture long/wide equal to or less than the length/width of the view
Fit_center/fitcenter enlarge/Shrink the picture to the width of the view, centered on the display
Fit_end/fitend Zoom in/out to the width of the view, displayed in the lower part of the view
Fit_start/fitstart enlarge/Shrink the image to the width of the view, displayed in the upper part of the view
Fit_xy/fitxy The picture is not scaled up/down to the view size display
The Matrix/matrix is drawn with a matrix and is displayed by zooming in and out of the image.
Android:Stackfrombottom:
This property will then show you the bottom of the list, with a value of true and false.
Android:Transciptmode:
You need to track or view information in real time with a ListView or other control that displays a large number of items, and you want the latest entries to automatically scroll to the viewable range. By setting the Control Transcriptmode property, you can automatically slide the controls on the Android platform (support ScrollBar) to the bottom.
Android:Cachecolorhint:
Many people want to be able to change its background so that he can conform to the overall UI design, changing the background is very simple just need to prepare a picture and then specify the property android:background= "@drawable/bg", but do not be happy too early, when you do so, Found that the background is changed, but when you drag, or click on the list blank position to find that the ListItem have become black, destroying the overall effect.
If you just change the color of the background, you can directly specify Android:cachecolorhint as the color you want, if you are using a picture to do the background, it will be as long as the android:cachecolorhint is specified as transparent (#00000000) can be
Android:Divider:
The function of this property is to set a picture as an interval between each item, or to remove the split line between items
android:divider= "@drawable/list_driver" where @drawable/list_driver is a picture resource, if you do not want to display the split line as long as it is set to android:divider= "@ drawable/@null "It's OK.
Android:Fadingedge:
There's a black shadow on the top and bottom.
Android:fadingedge= "None" after setting no Shadow ~
Android:scrollbars:
The function is to hide the scroll bar of the ListView,
Android:scrollbars= "None" with setverticalscrollbarenabled (true); the effect is the same, not active when hidden, when the activity is also hidden
Android:Fadescrollbars:
Android:fadescrollbars= "true" when configuring the ListView layout, setting this property to True enables the auto-hide and display of scroll bars.
Android:listselector:
Set the selected color
android:footerdividersenabled:
When set to Flase, this ListView will not draw a delimiter in front of the footer view. The default value of this property is True
Android:headerdividersenabled:
When set to Flase, this ListView will not draw a delimiter in front of the header view. The default value of this property is True
Android:soundeffectsenabled:
Do you have sound effects when tapping and touching
Android:duplicateparentstate:
If this property is set, the drawing state is obtained directly from the parent container (cursor, press inferior). Note that just getting the drawing state, without getting the event, is when you click the LinearLayout button has a clicked effect, but does not perform a click event.
Introduction to Android Properties