Android Open Source - ParticipationManager new Classes






From Project

Back to project page ParticipationManager.

License

The source code is released under:

GNU General Public License

If you think the Android project ParticipationManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* ww w  .jav  a  2 s  .c  om*/
package com.qdev.tabtest;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

// Displays a message indicating that the user needs to add a class to begin using the app.
public class newClasses extends Fragment {
    // Takes a LayoutInflater, ViewGroup, and Bundle and returns a view that displays a message
    // informing the user how to begin using the app.
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState){
        View view = inflater.inflate(R.layout.tab2, container, false);
        TextView textview = (TextView) view.findViewById(R.id.tabtextview);
        textview.setText("You haven't added any classes yet.  Press the plus sign to get started!");
        return view;
    }
}




Java Source Code List

com.qdev.tabtest.ApplicationTest.java
com.qdev.tabtest.CreateNew.java
com.qdev.tabtest.MyActivity.java
com.qdev.tabtest.MyTabListener.java
com.qdev.tabtest.fragmentTab1.java
com.qdev.tabtest.fragmentTab2.java
com.qdev.tabtest.newClasses.java
com.qdev.tabtest.studentSelection.java