border bottom android xml

Solutions on MaxInterview for border bottom android xml by the best coders in the world

showing results for - "border bottom android xml"
Vincent
14 Jan 2021
1<?xml version="1.0" encoding="utf-8"?>
2<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3    <!--Minus (-) how much dp you gave in the stroke width from left right-->
4    <item android:left="-10dp" android:right="-10dp">
5        <shape
6            android:shape="rectangle">
7            <stroke android:width="10dp" android:color="@android:color/holo_red_dark" />
8           <!--This is the main background -->
9            <solid android:color="#FFDDDDDD" />
10        </shape>
11    </item>
12</layer-list>