Slidingmenu implements the most popular slide currently and is compatible with android2.1

Source: Internet
Author: User

Slidingmenu implements the most popular slide currently and is compatible with android2.1

This article is a learning translation, source: https://github.com/jfeinstein10/SlidingMenu

Slidingmenu is an open-source Android class library,

You can easily implement apps with slide menus like Google +, YouTube, and Facebook.

This library can be freely used in your android applications.

Slidingmenu is currently used by multiple applications. The following lists some applications:

  • Foursquare

  • Rdio

  • Evernote food

  • Plume

  • VLC for Android

  • ESPN scorecenter

  • MLS matchday

  • 9gag

  • Wunderlist 2

  • The Verge

  • MTG familiar

  • Mantano Reader

  • Falcon Pro (Beta)

  • Mw3 barracks

If you use slidingmenu in your application and want to be included in the list above, please let me know on Twitter.

Here is an early app example of the video address: http://youtu.be/8vNaANLHw-c

You can also follow this project on Twitter: @ slidingmenu

Set

1. In eclipse, import the library in the source code as an android library. Use the project> clean command to re-compile and generate files, such as R. java.

2. Add the slidingmenu as an external project reference and add dependencies to your existing project.


Settings of actionbarsherlock

1. Complete appeal settings first

2. Export an actionbarsherlock copy and import it to the current working directory.

3. Add actionbarsherlock to slidingmenu as the dependent library.

4. Go to the com. slidingmenu. Lib. app package of the slidingmenu project,

Put slidingactivity, slidingfragmentactivity, slidinglistactivity, slidingpreferenceactivity

Four inheritance items of activity classes ___ activity is replaced by Sherlock ___ Activity Class

Problem:

When integrating the slidingmenu library into your own project, you must ensure that the android-support-v4.jar class libraries in several projects are consistent, otherwise the compilation validation fails.

-------------------------

The slidingmenu demo After integrating actionbarsherlock is compatible with android2.1,

You have uploaded the resource to csdn at the following address:

Http://download.csdn.net/detail/zhu410289616/5354568

-------------------------

The article is already in progress.

The resource reply here says "it is not compatible with 2.1 at all. It can only be more than 4.0 ",

In fact, the compilation environment is relatively high, because the Code has some Android system version judgments,

It is only available in the SDK of the higher version, so as to be 2.1 compatible.

Upload an app to help confirm the address as follows:

Http://www.kuaipan.cn/file/id_5778848431999870.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.