Will Verduzco · Sep 20, 2013 at 01:30 am

How to Use ViewPagerIndicator in Your App

In addition to featuring a unified user interface with sleek and modern colors and excellent typography, having a Holo-compliant interface has also come to mean horizontally scrolling panes when applicable. These are also accompanied by a page indicator up top showing your current location, as well as which tabs are on either side. In fact, one need look only as far as the official Google Play store for an excellent example of this.

So what do you do if you wish to implement page indicators in your own app? There is an excellent open source library called ViewPagerIndicator by developer Jake Wharton. If that name sounds familiar, it should; Jack has also created the incredibly useful ActionBarSherlock and NineOldAndroids.

Thankfully, XDA Senior Member ivn888 has created a quick guide and sample application aimed at getting you up to speed quickly and easily. The guide begins by showing you how to add the library to your Eclipse + ADT installation. It then continues on to discussing how to load the library into your project, as well as creating the layouts and implementing the library using Fragments API. Finally, ivn888 also includes a sample application of what you can expect by following the guide.

Head over to the tutorial thread to get started. You can get the code over at Jake Wharton’s Github.


_________
Want something on the XDA Portal? Send us a tip!
Emil Kako · Feb 1, 2015 at 02:54 pm · no comments

Good Games to Show off Graphics on My Phone?

Mobile games may not be ready to replace your consoles, but they have seen incredible improvements over the years. What are some of your favorite graphic-intensive games to show off how powerful your device is?

DISCUSS
Pulser_G2 · Feb 1, 2015 at 11:30 am · no comments

ITaaS – Identity Theft as a Service with FileThis

It's not often I look at a product or service and say "I really really hope this isn't real, and it's an elaborate fake". Alas, this day has come. It's time for a look at something which cropped up on my radar today, namely a service called FileThis. I won't do them the search-engine-ranking honor of providing a direct link to their site, but a quick search will find them, and their app on the Play Store and iTunes store....

XDA NEWS
Emil Kako · Jan 31, 2015 at 02:59 pm · 2 comments

Do You Prefer Physical or on Screen Buttons?

More and more smartphone manufacturers have been moving towards on-screen buttons, with Google really pushing for it over the physical button alternative. However, there are still a few OEMs (we're looking at you, Samsung) that have preferred to keep things a bit more traditional. Tell us which way you prefer and why.

DISCUSS