android - how to show dotted border to table layout -


I'm new to Android, I want to show the border in table layout.

Can anyone help me, this is very important to me.

Try setting the background as an element that you want to limit on. You can define a size dragable in the XML file in your res / drawables folder. Specifically, the stroke element contains dashWidth and dashGaps parameters that make you a dashed line:

  & Lt; Stroke Android: width = "Integer" Android: Color = "Color" Android: dashWidth = "Integer" Android: dashGap = "Integer" />   

You can also set repeat repository dots image as the backdrop of the entire table, then set a solid background and margins on the cells (see, about the concrete boundaries Written, but I 'm sure you can make a checkerboard pattern fake with 2x2).

Comments