code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.actionbarsherlock.internal.nineoldandroids.view.animation; import java.lang.ref.WeakReference; import java.util.WeakHashMap; import android.graphics.Matrix; import android.graphics.RectF; import android.os.Build; import android.util.FloatMath; import android.view.View; import android.view.animation.Animati...
Java
package com.actionbarsherlock.internal.nineoldandroids.view; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public abstract class NineViewGroup extends ViewGroup { private final A...
Java
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineFrameLayout extends FrameLayout { private final ...
Java
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.widget.HorizontalScrollView; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineHorizontalScrollView extends HorizontalScrollView { private final Animator...
Java
package com.actionbarsherlock.internal.nineoldandroids.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.LinearLayout; import com.actionbarsherlock.internal.nineoldandroids.view.animation.AnimatorProxy; public class NineLinearLayout extends LinearLayout { private fin...
Java
package com.actionbarsherlock.internal.app; import java.util.HashSet; import java.util.Set; import android.app.Activity; import android.content.Context; import android.graphics.drawable.Drawable; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentTransaction; import android.view.Vie...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.view.menu; import android.graphics.drawable.Drawable; import android.view.View; import com.actionbarsherlock.view.MenuItem; import com.actionbarsherlock.view.SubMenu; public class SubMenuWrapper extends MenuWrapper implements SubMenu { private final android.view.SubMenu mNat...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.view.menu; import android.content.Intent; import android.graphics.drawable.Drawable; import android.view.ContextMenu.ContextMenuInfo; import android.view.View; import com.actionbarsherlock.internal.view.ActionProviderWrapper; import com.actionbarsherlock.internal.widget.Collapsib...
Java
package com.actionbarsherlock.internal.view.menu; import java.util.WeakHashMap; import android.content.ComponentName; import android.content.Intent; import android.view.KeyEvent; import com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuItem; import com.actionbarsherlock.view.SubMenu; public class...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.view; import com.actionbarsherlock.internal.view.menu.SubMenuWrapper; import com.actionbarsherlock.view.ActionProvider; import android.view.View; public class ActionProviderWrapper extends android.view.ActionProvider { private final ActionProvider mProvider; public Act...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.view; import android.view.View; public interface View_OnAttachStateChangeListener { void onViewAttachedToWindow(View v); void onViewDetachedFromWindow(View v); }
Java
package com.actionbarsherlock.internal.view; public interface View_HasStateListenerSupport { void addOnAttachStateChangeListener(View_OnAttachStateChangeListener listener); void removeOnAttachStateChangeListener(View_OnAttachStateChangeListener listener); }
Java
package com.actionbarsherlock.internal; import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; import static com.actionbarsherlock.internal.ResourcesCompat.getResources_getBoolean; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.xmlpull.v1.XmlPullParser; import android....
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.widget; import android.view.View; import android.widget.FrameLayout; import com.actionbarsherlock.view.CollapsibleActionView; /** * Wraps an ABS collapsible action view in a native container that delegates the calls. */ public class CollapsibleActionViewWrapper extends FrameLa...
Java
package com.actionbarsherlock.internal.widget; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.drawable.Drawable; /** * A version of {@link android.graphics.drawable.ColorDrawable} that respects bounds. */ public class IcsColorDrawable exte...
Java
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.view.View; import android.widget.LinearLayout; import com.actionbarsherlock....
Java
package com.actionbarsherlock.internal.widget; import com.actionbarsherlock.R; import android.content.Context; import android.content.res.Resources; import android.database.DataSetObserver; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Handler; imp...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.widget; import android.view.View; final class IcsView { //No instances private IcsView() {} /** * Return only the state bits of {@link #getMeasuredWidthAndState()} * and {@link #getMeasuredHeightAndState()}, combined into one integer. * The width comp...
Java
package com.actionbarsherlock.internal.widget; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.util.AttributeSet; import android.widget.TextView; import java.util.Locale; public class CapitalizingTextView extends TextView { private static final boole...
Java
package com.actionbarsherlock.internal.widget; import static android.view.View.MeasureSpec.EXACTLY; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.util.TypedValue; import android.widget.LinearLayout; import com...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
package com.actionbarsherlock.internal.widget; import java.util.Locale; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.util.AttributeSet; import android.widget.Button; public class CapitalizingButton extends Button { private static final boolean SANS...
Java
package com.actionbarsherlock.internal; import android.content.Context; import android.os.Build; import android.util.DisplayMetrics; import com.actionbarsherlock.R; public final class ResourcesCompat { //No instances private ResourcesCompat() {} /** * Support implementation of {@code getResources()...
Java
/** Automatically generated file. DO NOT MODIFY */ package com.actionbarsherlock; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
package com.slidingmenu.lib; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.view.View; public interface MenuInterface { public abstract void scrollBehindTo(int x, int y, CustomViewBehind cvb, float scrollScale); public abstract int getMenuLeft(CustomViewB...
Java
package com.slidingmenu.lib; import java.lang.reflect.Method; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapFactory...
Java
package com.slidingmenu.lib.app; import com.slidingmenu.lib.SlidingMenu; import android.os.Bundle; import android.preference.PreferenceActivity; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; public class SlidingPreferenceActivity extends PreferenceActiv...
Java
package com.slidingmenu.lib.app; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup.LayoutParams; import com.slidingmenu.lib.R; import com.slidingmenu.lib...
Java
package com.slidingmenu.lib.app; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import com.slidingmenu.lib.SlidingMenu; public class SlidingFragmentActivity extends FragmentActivit...
Java
package com.slidingmenu.lib.app; import android.app.ListActivity; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.widget.ListView; import com.slidingmenu.lib.SlidingMenu; public class SlidingListActivity extends L...
Java
package com.slidingmenu.lib.app; import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup.LayoutParams; import com.slidingmenu.lib.SlidingMenu; public class SlidingActivity extends Activity implements SlidingActivityBase { ...
Java
package com.slidingmenu.lib.app; import android.view.View; import android.view.ViewGroup.LayoutParams; import com.slidingmenu.lib.SlidingMenu; public interface SlidingActivityBase { /** * Set the behind view content to an explicit view. This view is placed directly into the behind view 's view hierarc...
Java
package com.slidingmenu.lib; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.graphics.Canvas; import android.graphics.Rect; import android.os.Build; import android.support.v4.view.KeyEventCompat; import android.support.v4.view.MotionEventCompat; import andr...
Java
package com.slidingmenu.lib; import android.graphics.Canvas; import android.view.animation.Interpolator; import com.slidingmenu.lib.SlidingMenu.CanvasTransformer; public class CanvasTransformerBuilder { private CanvasTransformer mTrans; private static Interpolator lin = new Interpolator() { public ...
Java
package com.slidingmenu.lib; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.Log; import android.util....
Java
/** Automatically generated file. DO NOT MODIFY */ package com.slidingmenu.lib; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
/* * Copyright (C) 2011 The Android Open Source Project * Copyright (C) 2012 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
Java
/* * Copyright (C) 2011 The Android Open Source Project * Copyright (C) 2011 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
Java
package com.viewpagerindicator; public interface IconPagerAdapter { /** * Get icon representing the page at {@code index} in the adapter. */ int getIconResId(int index); // From PagerAdapter int getCount(); }
Java
/* * Copyright (C) 2011 Patrik Akerfeldt * Copyright (C) 2011 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
Java
/* * Copyright (C) 2011 Jake Wharton * Copyright (C) 2011 Patrik Akerfeldt * Copyright (C) 2011 Francisco Figueiredo Jr. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Java
package com.viewpagerindicator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.view.View; import android.widget.LinearLayout; /** * A simple extension of a regular linear layout that supports the divider...
Java
/* * Copyright (C) 2012 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
/* * Copyright (C) 2011 Patrik Akerfeldt * Copyright (C) 2011 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
Java
/* * Copyright (C) 2012 Jake Wharton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
/** Automatically generated file. DO NOT MODIFY */ package com.viewpagerindicator; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; import com.viewpagerindicator.TitlePageIndicator.IndicatorStyle; public class SampleTitlesTriangle extends BaseSampleActivity { @Override protected void...
Java
package com.viewpagerindicator.sample; import java.text.Collator; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.ListActivity; import android.content.Intent; import android.conte...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.UnderlinePageIndicator; public class SampleUnderlinesDefault extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesInitialPage extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate...
Java
package com.viewpagerindicator.sample; import java.util.Random; import com.viewpagerindicator.PageIndicator; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import android.view.Menu; import android.view.MenuItem; import android.widget.Toast; public abstract class BaseSample...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.widget.Toast; import com.viewpagerindicator.TitlePageIndicator; import com.viewpagerindicator.TitlePageIndicator.IndicatorStyle; import com.viewpagerindicator.TitlePageIndicator.OnCenterItemClickL...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.IconPageIndicator; public class SampleIconsDefault extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIn...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesStyledTheme extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.UnderlinePageIndicator; public class SampleUnderlinesNoFade extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreat...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesStyledTheme extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; 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; import com.viewpagerindi...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesBottom extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesStyledMethods extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.LinePageIndicator; public class SampleLinesStyledMethods extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(s...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.UnderlinePageIndicator; public class SampleUnderlinesStyledTheme extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.on...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesStyledLayout extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.LinearLayout.LayoutParams...
Java
package com.viewpagerindicator.sample; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.viewpagerindicator.IconPagerAdapter; class TestFragmentAdapter extends FragmentPagerAdapter implements IconPagerAdapter { ...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesInitialPage extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesDefault extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sav...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.widget.Toast; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesWithListener extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceS...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.LinePageIndicator; public class SampleLinesDefault extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIn...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.widget.Toast; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesWithListener extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceSt...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.LinePageIndicator; public class SampleLinesStyledTheme extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sav...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; public class SampleTitlesDefault extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(save...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.UnderlinePageIndicator; public class SampleUnderlinesStyledMethods extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super....
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.TitlePageIndicator; import com.viewpagerindicator.TitlePageIndicator.IndicatorStyle; public class SampleTitlesStyledMethods extends BaseSampleActivity { @Override protected...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; 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; import com.viewpagerindic...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.CirclePageIndicator; public class SampleCirclesStyledLayout extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreat...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; import android.support.v4.view.ViewPager; import com.viewpagerindicator.LinePageIndicator; public class SampleLinesStyledLayout extends BaseSampleActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sa...
Java
package com.viewpagerindicator.sample; import android.os.Bundle; 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; import com.viewpagerindic...
Java