Because there is no art, so you can only do it yourself.
XML written in the layout folder
Method 1: Add the above code to the layout XML file inside the layout
<view
android:layout_width= "match_parent"
android:layout_height= "1DP"
android:background= "@ Color/orange_normal "/>
Effect chart
Draw lines with shape line or rectangle in the Drawable folder
Method 2: Create a new XML with shape in drawable
And then quote in the layout file in layout.
This method can refer to the same line style multiple places
<!--drawable/line_my.xml-->
<shape xmlns:android= "Http://schemas.android.com/apk/res/android"
android:shape= "line" >
<stroke android:color= "@color/orange_normal"/>
</shape>
Or with a filled rectangle.
<shape xmlns:android= "http://schemas.android.com/apk/res/android"
android:shape= "Rectangle" >
< Solid android:color= "@color/orange_normal"/>
<size android:height= "
1dp"
android:width= "100DP" />
</shape>
Note
Android:width= "100DP" cannot be assigned the value "Match_parent"
Quote in Layout/bomb_fragment.xml
<textview
android:layout_width= "match_parent"
android:layout_height= "Wrap_content"
android: background= "@drawable/line_my"/>
I hope this article will help you learn about Android software programming.