0

I want show only top border in android rectangle shape. I have searched lot for do it but does not found any working solution for it. My current shape code is like below

<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle" >

    <gradient
        android:angle="270"
        android:centerColor="#391901"
        android:endColor="#2f1502"
        android:startColor="#411d02" />

</shape>

I want only border on top side of shape. Let me know if any one have idea to do it.

enter image description here Example Image

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Priyanka
  • 137
  • 2
  • 7

0 Answers0