Android Facebook style slide

前端 未结 25 2324
粉色の甜心
粉色の甜心 2020-11-22 03:23

The new Facebook application and its navigation is so cool. I was just trying to see how it can be emulated in my application.

Anyone has a clue how it can be achie

25条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 04:07

    As a part of my Android Common Library (ACL) I implemented own SideBar. Main advantages:

    1. Side bar can be set to any position: left, top, bottom, right
    2. Both main view and sliding view are clickable
    3. Side bar can be partially shown
    4. Stylable attributes for SideBar make easier to change it's style
    5. Artifact in maven repo
    6. Part of a big library

    Source code: https://github.com/serso/android-common/tree/master/views/src/main/java/org/solovyev/android/view/sidebar

    Usage: https://github.com/serso/android-common/blob/master/samples/res/layout/acl_view_layout.xml

提交回复
热议问题