Android programming simple method for setting listview split line

This article describes the method of simply setting listview split line by Android programming. Share with you for your reference, as follows:

The key is these two sentences:

Android:divider="#FFCC00"@H_ 404_ 10@ android:dividerHeight="4px"

The previous sentence is to set the color of the split line, and the latter sentence is to set the height of the split line (i.e. the thickness of the split line)

More readers interested in Android related content can view the topics on this site: summary of Android view skills, summary of Android layout skills, summary of Android graphics and image processing skills, introduction and advanced tutorial of Android development, summary of Android debugging skills and solutions to common problems, and summary of Android multimedia operation skills (audio, video, recording, etc.), usage summary of Android basic components and Usage Summary of Android controls

I hope this article will help you in Android programming.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>