I am trying to give my button a gradient background and stronger stroke. I have read/seen many tutorials but nothing works for me.
This is my addon .xml file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<gradient android:startColor="#25AAFF"
android:endColor="#004F81">
</gradient>
<stroke
android:width="5dp"
android:color="#000000">
</stroke>
<corners android:radius="5dp"></corners>
NOTE: The corners work fine
and Button file
<Button
android:background="@drawable/login_button"
android:id="@+id/login_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/login_password_input"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:text="@string/login_button_text"
android:textColor="#FFFFFF"
android:textStyle="bold">
</Button>