Answers for "how to position your border at the bottom of the layout in android studio"

1

border bottom android xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <!--Minus (-) how much dp you gave in the stroke width from left right-->
    <item android:left="-10dp" android:right="-10dp">
        <shape
            android:shape="rectangle">
            <stroke android:width="10dp" android:color="@android:color/holo_red_dark" />
           <!--This is the main background -->
            <solid android:color="#FFDDDDDD" />
        </shape>
    </item>
</layer-list>
Posted by: Guest on September-20-2021

Code answers related to "how to position your border at the bottom of the layout in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language