diff --git a/demo/src/main/res/drawable/custom_button_background.xml b/demo/src/main/res/drawable/custom_button_background.xml new file mode 100644 index 0000000..c92a4e8 --- /dev/null +++ b/demo/src/main/res/drawable/custom_button_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/demo/src/main/res/drawable/custom_edit_text.xml b/demo/src/main/res/drawable/custom_edit_text.xml new file mode 100644 index 0000000..f7719cc --- /dev/null +++ b/demo/src/main/res/drawable/custom_edit_text.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demo/src/main/res/layout/example.xml b/demo/src/main/res/layout/example.xml index b9f4877..d9aed5d 100644 --- a/demo/src/main/res/layout/example.xml +++ b/demo/src/main/res/layout/example.xml @@ -1,7 +1,8 @@ + android:layout_height="wrap_content" + android:layout_gravity="center_vertical"> + android:layout_height="wrap_content" + android:layout_marginBottom="8dp" + android:background="@drawable/custom_edit_text" + android:hint="USERNAME" + android:paddingBottom="10dp" + android:textColor="#000000" + android:textColorHint="#C1C1C1" + /> + android:layout_height="wrap_content" + android:background="@drawable/custom_edit_text" + android:hint="PASSWORD" + android:paddingBottom="10dp" + android:textColor="#000000" + android:textColorHint="#C1C1C1" + android:textSize="15sp" /> + + - -