Android Third-Party UI library greendroid usage

Source: Internet
Author: User

From http://www.acwind.net/blog? P = 1297

I always think that the UI library provided by the android SDK itself is too ugly, and the functions provided are always a lot of defects here. Therefore, I have been paying attention to various third-party UI components, and many good libraries are expensive. On the forum, we recommend the open-source greendroid, an enhanced Android UI library that can implement custom UI implementations such as tabbar, segmentedbar, actionbar, and pagedview.

Greendroid address: https://github.com/cyrilmottier/GreenDroid

After the download, import the three projects (gdcatalog, greendroid, and greendroid-googleapis) in the directory to eclipse. If no error is reported, everything works.

If a run () function error is reported during compilation, you need to set the Java compiler to 1.6 or a later version. Right-click the project, select Properties, select "Java compiler" on the left, and set the compiler level to 1.6, as shown in:

Greendroid-googleapis needs to set compiler to 1.5 to compile normally.

Right-click your project, select "properties", and select android on the left side of the interface. Two option boxes are displayed on the right side. In the library below, click "add, add greendroid, as shown in.

Now you can use various UI library of greendroid. In the gdcatalog project, the use of various UIS andSource code, Which can be directly compiled to the mobile phone for running. Check the source at any time when necessaryCodeYou can find the usage method.

Related Article

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.