android-studio开发手机导航页

导航页的设置

package cn.gs.stuass.guide;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;

import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import java.util.ArrayList;
import java.util.List;

import cn.gs.stuass.R;
import cn.gs.stuass.login.LoginActivity;

public class GuideActivity extends AppCompatActivity {

    ViewPager viewPager;
    List list;
    int[] pics;
    MyGuideAdapter  myGuideAdapter;
    ImageView point1IV,point2IV,point3IV,point4IV,point5IV;
    ImageView[] points;
    SharedPreferences sp;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity

你可能感兴趣的:(android,studio,android,ide)