Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushyerawar authored Aug 21, 2020
1 parent edbddfb commit d816e35
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add this in your root `build.gradle` file (not your module `build.gradle` file)
Add this to your module's `build.gradle` file (make sure the version matches the JitPack badge above):

dependencies {
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.android.material:material:1.2.0'
implementation 'com.github.ankushyerawar:FloatingSnackBar:1.0.2'
}
Expand All @@ -42,6 +42,11 @@ Now you can change Icons of Default SnackBar Methods like success, error by pass

Some small changes and Error handling.

**Version 1.0.3**

Now supports material design librery 1.1.0 and 1.2.0.
All new featrue to support text RTL.

# Sneak Peek

![device-2019-12-12-104334](https://user-images.githubusercontent.com/47925684/70686013-083a4300-1cd1-11ea-9f5f-84b03bbe1258.gif)
Expand Down Expand Up @@ -79,8 +84,9 @@ SnackBar.normal(getView(),"Snackbar with icon", SnackBar.LENGTH_LONG, R.drawable
```
You can also create your custom Snackbar with the custom() method:
```
SnackBar.custom(view, R.string.app_name, SnackBar.LENGTH_LONG, R.drawable.ic_custom, Color.DKGRAY, Color.WHITE).show();
SnackBar.custom(view, R.string.app_name, SnackBar.LENGTH_LONG,R.drawable.ic_custom, Color.DKGRAY, Color.WHITE,true).show();
```
Here, This method also supports text rtl.

# Extra

Expand Down

0 comments on commit d816e35

Please sign in to comment.