Back to project page GlassTunes.
The source code is released under:
Apache License
If you think the Android project GlassTunes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.glasstunes; /*from w w w .j a va 2s .c o m*/ import com.glasstunes.cards.HeaderCard; import com.glasstunes.cards.PausePlayCard; import com.glasstunes.cards.SkipNextCard; import com.glasstunes.cards.SkipPreviousCard; import com.glasstunes.screenslide.BasicCardPagerAdapter; import com.glasstunes.screenslide.ScreenSlideActivity; import com.glasstunes.screenslide.ScreenSlidePagerAdapter; public class ControlsActivity extends ScreenSlideActivity { @Override protected ScreenSlidePagerAdapter onCreatePagerAdapter() { BasicCardPagerAdapter adapter = new BasicCardPagerAdapter( getFragmentManager()); adapter.setCards(SkipPreviousCard.newInstance(), PausePlayCard.newInstance(), SkipNextCard.newInstance(), HeaderCard.newInstance()); setCurrentItem(1); return adapter; } @Override protected void onStart() { super.onStart(); } }