@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_emba_student_info);

    mStudent = (StudentBrief2) getIntent().getSerializableExtra(PARAM_STUDENT);
    // mClass = (ClassObject) getIntent().getSerializableExtra(PARAM_CLASS);

    mToolbar = (Toolbar) findViewById(R.id.toolbar);
    if (mToolbar != null) {
      setSupportActionBar(mToolbar);
      getSupportActionBar().setTitle(R.string.title_student);
      getSupportActionBar().setSubtitle(mStudent.studentName);
      getSupportActionBar().setHomeButtonEnabled(true);
      getSupportActionBar().setDisplayShowHomeEnabled(true);
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().hide();
    }

    mTabPages = new ArrayList<Integer>();
    mTabPages.add(R.string.emba_tab_basic);
    mTabPages.add(R.string.emba_tab_education);
    mTabPages.add(R.string.emba_tab_courseresults);

    mViewPager = (ViewPager) findViewById(R.id.viewpager);

    mPagerAdapter = new SamplePagerAdapter(getSupportFragmentManager());
    mViewPager.setOffscreenPageLimit(mTabPages.size());
    mViewPager.setAdapter(mPagerAdapter);

    mSlidingTabLayout = (SlidingTabLayout) findViewById(R.id.tabs);
    mSlidingTabLayout.setDistributeEvenly(false);
    mSlidingTabLayout.setCustomTabColorizer(new MyTabColorizer());
    mSlidingTabLayout.setViewPager(mViewPager);

    TextView txtStudentName = (TextView) findViewById(R.id.txtStudentName); // 姓名
    txtStudentName.setText(mStudent.studentName);

    TextView txtStudentNumber = (TextView) findViewById(R.id.txtStudentNumber); // 學號
    TextView txtCompanyName = (TextView) findViewById(R.id.txtCompanyName); // 職業
    TextView txtPosition = (TextView) findViewById(R.id.txtPosition); // 職稱

    StudentBrief2.Company c = mStudent.getCompany();
    txtCompanyName.setText(c.Name);
    txtPosition.setText(c.Position);

    RoundedImageView imgHead = (RoundedImageView) findViewById(R.id.imgHead); // 照片標頭

    String studentNumber = getString(R.string.student_number);
    studentNumber = String.format(studentNumber, mStudent.studentNumber);
    txtStudentNumber.setText(studentNumber);

    mToken = CallerPref.get(this);

    TextView txtStudentClass = (TextView) findViewById(R.id.txtStudentClass); // 班級
    String classInfo = mStudent.ClassName;
    txtStudentClass.setText(classInfo);

    TextView txtGroupDepartment = (TextView) findViewById(R.id.txtGroupDepartment); // 組別
    String DepartmentName = mStudent.group_department;
    txtGroupDepartment.setText(DepartmentName);

    imgHead.setImageBitmap(mStudent.getPhotoBitmap(this));

    mLayoutBase = findViewById(R.id.layoutBase);

    mBtnCollapse = (View) findViewById(R.id.btnCollapse);
    mBtnCollapse.setOnClickListener(
        new View.OnClickListener() {
          @Override
          public void onClick(View view) {
            collapse();
          }
        });

    mBtnBack = (View) findViewById(R.id.btnBack);
    mBtnBack.setOnClickListener(
        new View.OnClickListener() {
          @Override
          public void onClick(View view) {
            finish();
          }
        });
  }