We've received mixed reports about switching to ART but it seems that the majority of users who make the jump see some type of improvement. But just how noticeable is this improvement in app performance? Let us know if switching to ART has brought noticeable changes to your device's performance.
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.
Want something on the XDA Portal? Send us a tip!
The Samsung Galaxy S6 and Galaxy S6 Edge are already proving to be amongst the head turners of 2015. From favoring their inhouse Exynos 7 SoC over the Snapdragon 810 SoC (which ended up causing issues to its main rival); to ditching the removable battery and micro sd card slot in favor of a more "premium" device, the flagship duo have a lot going on for them at this stage. Regarding the premium redesign which replaced plastic with metal and glass,...
Join us in a fun Sunday Debate on Cyanogen Inc. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below! CyanogenMod is widely recognized across XDA for its solid performance, great feature set and far-reaching (and also long-lasting) support for all sorts of devices, from...