From d3dd79eabdf6cf8cc799568242701c79f13f432f Mon Sep 17 00:00:00 2001 From: Ali Abu Harb Date: Mon, 19 Oct 2020 21:16:44 +0300 Subject: [PATCH] Update README.md --- README.md | 78 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 53 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index d0ad3ed..f53c9c1 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,32 @@ ## This library make these things : -- improve the Button , and add the possibility of changing these attributes : -- corner form one side only or more, for example from top Left +- improve the ViewGruops And Views Like (View,FrameLayout,LinearLayout,RelativeLayout,Button) and add the possibility of changing these attributes : +- corner form one side only or more - change the radius of corner -- the shadow color -- the stroke color and stroke radius - +- change shadow color and shadow radius +- change stroke color and stroke radius + +### The library offers the following classes +- SuperButton + - This class extend MaterialButton +- SuperFrameLayout + - This class extend FrameLayout +- SuperLinearLayout + - This class extend LinearLayout +- SuperRelativeLayout + - This class extend RelativeLayout +- SuperView + - This class extend View + +## Example on Button ![Image Result](https://i.ibb.co/W21YsKS/Screenshot-2020-10-16-022754.png) + +## Exambple on All Views +![Image Result](https://i.ibb.co/4Pj5Jvs/Screenshot-1603129757.png) + + + ## Getting started @@ -37,46 +56,55 @@ and be sure you have material ## How to use -* First, add android:clipChildren="false" ``` to the parent layout to enable shadow appears +* First, add ```xml android:clipChildren="false" ``` to the parent layout to enable shadow appears * your app theme should extent Theme.MaterialComponents theme, Like this : ```xml