mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add extra page to PagerAdapter
This commit is contained in:
parent
e76ef80fa6
commit
4253957b74
1 changed files with 4 additions and 2 deletions
|
|
@ -12,11 +12,13 @@ import com.viewpagerindicator.CirclePageIndicator;
|
|||
|
||||
public class WelcomeActivity extends Activity {
|
||||
static final int PAGE_WIKIPEDIA = 0,
|
||||
PAGE_COPYRIGHT = 1,
|
||||
PAGE_FINAL = 2;
|
||||
PAGE_DO_UPLOAD = 1,
|
||||
PAGE_DONT_UPLOAD = 2,
|
||||
PAGE_FINAL = 3;
|
||||
static final int[] pageLayouts = new int[] {
|
||||
R.layout.welcome_wikipedia,
|
||||
R.layout.welcome_do_upload,
|
||||
R.layout.welcome_dont_upload,
|
||||
R.layout.welcome_final
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue