Summarize some popular Android control properties that may be used
1.ListView
Android:drawselectorontop= "true" click on a record, the color will be displayed on the top, the text on the record is obscured, so click on the text, text will not see android:drawselectorontop= " False "click on a record, the color will be behind the record, the background color, but the text of the recorded content is visible
Cancel Split Line/divider
Android:divider= "@null"
After the ListView adds a button event, the entry cannot focus the button after Onitemclicklistener
Android:descendantfocusability= "Blocksdescendants"
Remove the black shadow from the edge when the ListView slides to the top and bottom
Android:fadingedge= "None"
Simply modify the scroll bar
Android:scrollbarthumbvertical= "@color/gray" android:scrollbarsize= "2DP"
Spacing of 2.GridView meshes
android:horizontalspacing= "8DP" android:verticalspacing= "8DP"
3.TextView
Text Leading/Line spacing
<!-- set the line spacing, such as "6dip". -android:linespacingextra<!---to-android: Linespacingmultiplier
Number of rows and display ellipses
Android:lines= "2" android:ellipsize= "End"
4.View
Split Line/Divider Line
< View Android:layout_width = "Fill_parent" Android:layout_height = "1px" Android:background = "? Android:attr/listdivider" />