android - How to set the border color for linear layout -


i want set set border color white linear layout no inner color.

here code display inner color black. mistake?

<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">     <item android:left="0dp" android:right="0dp"  android:top="-10dp" android:bottom="-10dp">          <shape android:shape="rectangle">             <stroke android:width="1dp" android:color="#ffffff" />         </shape>     </item>   </layer-list>  

add <solid android:color="@android:color/transparent" /> shape tag.

<shape android:shape="rectangle" >      <solid android:color="@android:color/transparent" /> </shape> 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -