Try this:
For Edittext
underline color use:
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:layout_marginTop="20dp"
android:backgroundTint="@android:color/white"
android:hint="Username"
android:paddingLeft="20dp"
android:textColorHint="@android:color/white" />
For Button
background:
drawable/background.xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!--stroke width and color-->
<stroke
android:width="2dp"
android:color="@android:color/white" />
<!-- corner radius-->
<corners
android:radius="0dp" />
</shape>
And in layout:
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/background"
android:text="Login With Facebook"
android:textColor="@android:color/white" />
EDIT
backgroungTint will not work on Pre lollipop devices
try using this:
<android.support.v7.widget.AppCompatEditText
android:id="@+id/my_appcompat_imageview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@android:color/white"
android:hint="Username"
android:textColorHint="@android:color/white"
android:tint="@android:color/white" />
output:
