You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made in <ahref="http://yalantis.com/"> Yalantis</a>.<br>
4
+
#### Side menu with some categories to choose.
6
5
Check this <ahref="https://dribbble.com/shots/1689922-Side-Menu-Animation?list=searches&tag=yalantis&offset=0">project on dribbble</a>.<br>
7
6
Check this <ahref="https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions ">project on Behance</a>.
8
7
@@ -22,14 +21,14 @@ Using
22
21
======
23
22
First of all you have to upload animation submodule with `git submodule update --init` command <br>
24
23
<br>
25
-
Or you can add gradle dependency with <br>
24
+
Or you can add gradle dependency with command :<br>
26
25
```groovy
27
26
dependencies {
28
-
compile 'com.yalantis:sidemenu:1.0'`
27
+
compile 'com.yalantis:sidemenu:1.0'
29
28
}
30
29
```
31
-
command.<br>
32
-
and <br>
30
+
.<br>
31
+
and command:<br>
33
32
```groovy
34
33
repositories {
35
34
maven {
@@ -41,7 +40,11 @@ and <br>
41
40
}
42
41
43
42
```
44
-
<br> for CircularReveal module
43
+
44
+
To add gradle dependency you need to open build.gradle (in your app folder,not in a project folder) then copy and add the dependencies there in the dependencies block;
45
+
46
+
47
+
<br> for CircularReveal module
45
48
46
49
47
50
After you have to create special overlay layout to show in behind current `Circular Reveal` animated view.
@@ -123,6 +126,28 @@ And to add all items to menu you have to add all of them into `LinearLayout`
123
126
All menu items should implement `Resourceble` interface to get menu item name and drawable res
124
127
And all fragments should implement `ScreenShotable` to get screenshot of a fragment
125
128
129
+
You can customize icons that u place in the menu,or add mor items. Simply by changing the list you parse to view animator .For example:
130
+
131
+
```java
132
+
133
+
privateList<SlideMenuItem> list =newArrayList<>(); \\ the list of menu items
SlideMenuItem menuItem =newSlideMenuItem(ContentFragment.BUILDING, R.drawable.icn_1); \\first parameter is the id of menu item,the second is the icon resouce
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.
148
+
149
+
P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for Android (iOS) better than better. Stay tuned!
0 commit comments