xml template, custom button background

黄舟
Release: 2017-03-18 16:33:02
Original
1676 people have browsed it

xml template, custom button background








Copy after login

The outermost layer is the selector, which contains the state_pressed attribute of the two items that will be triggered when it is clicked. True means that it is clicked. Item, false is the default value, which contains items that have not been clicked. The shape attribute can control the displayed shape. Generally, rectangle or oval is selected. If you want it to be circular, you need to limit the height to be equal to the width and greater than the width of the text. Line, add

Copy after login

to the node, which contains very rich content

Fill color

Edge width: Edge width color: Color dashWidth: Dash width, dashGap: The dotted line interval width is rounded, and four corners can be set. At this time, the shape is a rectangle, or the radius can be set at one time

Set the width and height

Set the inner margin

The above is the detailed content of xml template, custom button background. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!