zigzag

Android bottom zig-zag shape

萝らか妹 提交于 2019-11-27 15:25:27
问题 I need to achieve below attached image programatically, is there any way? I know how to draw rectangle in layer-list but for the particular zig-zag texture in bottom I don't have any idea Please help me to achieve this shape Thanks in advance 回答1: to draw a dashed line you can use a shape <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:color="#FF00" android:dashWidth="5dp" android:dashGap="5dp" /> </shape> if you want to combine more

CSS Zigzag Border with a Textured Background

为君一笑 提交于 2019-11-27 12:54:20
I've been working on a header with a zigzag border. One way to do this is to use images to make the zigzag effect. (1) Is there any way to create a practical cross-browser zigzag border in CSS without the use of images? I am also trying to put a textured background on this header that extends to the zigzags. However, the vertical size of the header may change and I am unable to implement the header as a single image. If I try to add a texture to both the zigzag edges and the header element, chances are, the texture will be off sync. (2) Any ideas on implementing a textured background that

Android Zig-Zag layout

懵懂的女人 提交于 2019-11-27 02:58:49
问题 I'm in need of creating a receipt layout in Android. The idea is very simple, a rectangle layout with a zigzag top. Even, i have tried dashed line but nothing working. <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:color="#FF00" android:dashWidth="5dp" android:dashGap="5dp" /> </shape> 回答1: Try with this: https://github.com/beigirad/ZigzagView Support top and bottom Zigzag. <ir.beigirad.zigzagview.ZigzagView android:layout_width="match

CSS Zigzag Border with a Textured Background

五迷三道 提交于 2019-11-26 18:14:03
问题 I've been working on a header with a zigzag border. One way to do this is to use images to make the zigzag effect. (1) Is there any way to create a practical cross-browser zigzag border in CSS without the use of images? I am also trying to put a textured background on this header that extends to the zigzags. However, the vertical size of the header may change and I am unable to implement the header as a single image. If I try to add a texture to both the zigzag edges and the header element,