Android Button style rounded corner
During Android Application Development, when setting the button style, then we can use the shape component in the Android system to replace the image in the selectoer selector, which can reduce the size of the app's thumb-like memory.
When the focus is concentrated:
Android: end color = #696969
Android: gradientRadius = 150
Android: startColor = # d6dbdf
Android: type = linear/>
Android: dashGap = 3dp
Android: dashWidth = 5dp
Android: width = 2dp
Android: color = #000000/>
Android: bottom = 10dp
Android: left = 10dp
Android: right = 10dp
Android: top = 10dp/>
When the focus is released:
Android: dashGap = 3dp
Android: dashWidth = 5dp
Android: width = 2dp
Android: color = #000000/>
Android: bottom = 10dp
Android: left = 10dp
Android: right = 10dp
Android: top = 10dp/>
BackGround-selector:
Xml layout:
During Android Application Development, when setting the button style, then we can use the shape component in the Android system to replace the image in the selectoer selector, which can reduce the size of the app's thumb-like memory.