Kamis, 24 Maret 2011

TUTORIAL BASIC4ANDROID > BASIC4ANDROID, SIDE MENU

A new module, created by Anywhere Software, allows developers of Android-based applications to easily add a sliding panels feature to their new apps.

Android SlidingPanels
By using the Android Sliding Panels, developers can create a layout made of a number of panels, adding a cool and exciting feature to their apps. 

Currently, by using the Animation library, developers can animate single views and panels that hold other views. Adding the Android Sliding Panels code further simplifies the whole process.  

While using it, once a new application is loaded, the existing panel slides out and the new panel, with the application, slides in. As panels can load layout files, developers can create complex layouts by loading a different layout file for each panel.

Android Sliding Panels is made of two components.
  • The Main activity 
  • The Sliding Panels code module
Users need to add the Sliding Panels code module to their project and add a reference to the Animation library. The main activity code explains the several integration points required. In order to complete the process Animation library v1.02 is required. 

It is recommended to take a look at the code, even for developers who are not particularly interested in sliding layouts, as it demonstrates the power of custom types, which enable developers to easily group many objects.

The code module can be easily changed to meet specific requirements and can be used directly by touching the touch screen. 

Tidak ada komentar:

Posting Komentar

Bank Soal Web Programming (PHP)

Apa yang kamu ketahui tentang PHP, apa kelebihan bahasa pemrogramman PHP dibandingkan dengan bahasa pemrogramman yang lainnya?  Gambarka...