Skip to content

Commit

Permalink
Update example to demonstrate issue #58 is solved
Browse files Browse the repository at this point in the history
  • Loading branch information
jpardogo committed Feb 21, 2015
1 parent e0e4dcd commit 5672cc8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import android.graphics.drawable.TransitionDrawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
Expand Down Expand Up @@ -73,6 +70,7 @@ protected void onCreate(Bundle savedInstanceState) {
final int pageMargin = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 4, getResources()
.getDisplayMetrics());
pager.setPageMargin(pageMargin);
pager.setCurrentItem(1);
changeColor(getResources().getColor(R.color.green));

tabs.setOnTabReselectedListener(new PagerSlidingTabStrip.OnTabReselectedListener() {
Expand Down

0 comments on commit 5672cc8

Please sign in to comment.