Background Xml
-----------------------------background button xml------------------------
-----------------------------background button xml------------------------
<?xml version="1.0" encoding="utf-8"?>
<!--<layer-list xmlns:android="http://schemas.android.com/apk/res/android">-->
<!--<item--><!--android:top="-6dp"--><!--android:left="-6dp"-->
<!--android:right="-6dp"--><!--android:bottom="0dp">--> <!--<shape android:shape="rectangle">-->
<!--<solid android:color="#ffffff"/>-->
<!--<stroke--><!--android:width="0.5dp"-->
<!--android:color="#222222"/>--><!--</shape>-->
<!--</item>--><!--</layer-list>--><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="4dip" /> <size android:width="30dp" android:height="20dp" /> <solid android:color="@color/colorPrimary" /> <stroke android:width="0.1dp" android:color="#ffffff"> </stroke> </shape>
------------------View line-----------------
<View android:layout_width="match_parent" android:layout_height="2dp" android:background="#000" />
No comments:
Post a Comment