From 9b796b6acf27e82dbf177f1e0b2c9f200a5136e6 Mon Sep 17 00:00:00 2001 From: Anubhav Mittal <42939575+anubhav11march@users.noreply.github.com> Date: Sun, 3 Mar 2019 01:56:05 +0530 Subject: [PATCH] Update README.md Updated the colors directly using color codes. And Height and width which gives wrong shapes in different layouts --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 628b406..df32ffd 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,17 @@ A practical, cool and elegant Submit Button ```xml - + android:layout_width="150dp" //set your own width accordingly + android:layout_height="40dp" //set your own height accordingly + android:text="Submit" + android:textColor="#A4A4A4" //gray + app:sub_btn_background="#FFFFFF" //white + app:sub_btn_duration="3000" + app:sub_btn_line_color="#82FA58" //green + app:sub_btn_ripple_color="#82FA58" //green + app:sub_btn_tick_color="#FFFFFF" //white + /> + //For more color codes, go to https://html-color-codes.info/ ``` ### Notice - SubmitButton is a subclass of TextView, so almost all attributes of TextView can be used for SubmitButton.