Snapshot of Yalantis/Side-Menu.Android: 5.2k★, Java, Mobile. Side menu with some categories to choose.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
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;
for CircularReveal module
After you have to create special overlay layout to show in behind current Circular Reveal animated view.
And to add all items to menu you have to add all of them into LinearLayout
ViewAnimator viewAnimator = new ViewAnimator<>(ActionBarActivity.this,
new ArrayList<Resourceble>(),
(LinearLayout) findViewById(R.id.left_drawer),
contentFragment, drawerLayout);
//to open menu you have to override ActionBarDrawerToggle method
@Override
public void onDrawerSlide(View drawerView, float slideOffset) {
super.onDrawerSlide(drawerView, slideOffset);
if (slideOffset > 0.6 && viewAnimator.getLinearLayout().getChildCount() == 0)
viewAnimator.showMenuContent();
}
public void onDrawerClosed(View view) {
super.onDrawerClosed(view);
viewAnimator.getLinearLayout().removeAllViews();
viewAnimator.getLinearLayout().invalidate();
}
All menu items should implement Resourceble interface to get menu item name and drawable res
And all fragments should implement ScreenShotable to get screenshot of a fragment
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:
private List<SlideMenuItem> list = new ArrayList<>(); \\ the list of menu items
SlideMenuItem menuItem0 = new SlideMenuItem(ContentFragment.CLOSE, R.drawable.icn_close);
list.add(menuItem0);
SlideMenuItem menuItem = new SlideMenuItem(ContentFragment.BUILDING, R.drawable.icn_1); \\first parameter is the id of menu item,the second is the icon resouce
list.add(menuItem);
SlideMenuItem menuItem2 = new SlideMenuItem(ContentFragment.BOOK, R.drawable.icn_2);
list.add(menuItem2);
viewAnimator = new ViewAnimator<>(this, list, contentFragment, drawerLayout, this);
Let us know!
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.
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!
License
Copyright 2019, Yalantis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
How does Yalantis/Side-Menu.Android compare to other Mobile projects?
Yalantis/Side-Menu.Android is tracked by TopGit in the Mobile category, with 5.2k GitHub stars and written in Java. Browse the Mobile topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does Yalantis/Side-Menu.Android have?
Yalantis/Side-Menu.Android has 5.2k GitHub stars — refresh the page for the live number, or check github.com/Yalantis/Side-Menu.Android. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is Yalantis/Side-Menu.Android open source?
Yes — Yalantis/Side-Menu.Android ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/Yalantis/Side-Menu.Android.
What else is in the Mobile space?
Yalantis/Side-Menu.Android is tracked by TopGit under the Mobile category, alongside 6 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is Yalantis/Side-Menu.Android?
Yalantis/Side-Menu.Android (Yalantis/Side-Menu.Android) is a Java project on GitHub. From the project's own README: Side menu with some categories to choose.
Where can I see Yalantis/Side-Menu.Android in action?
The project maintains a homepage at https://yalantis.com. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about Yalantis/Side-Menu.Android?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/Yalantis/Side-Menu.Android is the definitive source.
Read full README in the tab above.
Curious whether Side-Menu.Android is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about Side-Menu.Android.