mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Extend from AppCompatActivity instead of Activity
This commit is contained in:
parent
75f2201000
commit
8cc51c4dd9
6 changed files with 15 additions and 49 deletions
|
|
@ -9,9 +9,9 @@ import android.widget.Button;
|
|||
|
||||
import com.viewpagerindicator.CirclePageIndicator;
|
||||
|
||||
import fr.free.nrw.commons.theme.BaseActivity;
|
||||
import fr.free.nrw.commons.theme.BaseAppCompatActivity;
|
||||
|
||||
public class WelcomeActivity extends BaseActivity {
|
||||
public class WelcomeActivity extends BaseAppCompatActivity {
|
||||
static final int PAGE_WIKIPEDIA = 0,
|
||||
PAGE_DO_UPLOAD = 1,
|
||||
PAGE_DONT_UPLOAD = 2,
|
||||
|
|
@ -33,6 +33,8 @@ public class WelcomeActivity extends BaseActivity {
|
|||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_welcome);
|
||||
|
||||
getSupportActionBar().hide();
|
||||
|
||||
pager = (ViewPager)findViewById(R.id.welcomePager);
|
||||
pager.setAdapter(new PagerAdapter() {
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue