+/* SplashScreen.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
package de.dhbwloe.campusapp.fragments;
-
-
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ProgressBar;
+import android.widget.TextView;
import java.util.Date;
import de.dhbwloe.campusapp.CampusApp;
+import de.dhbwloe.campusapp.CampusAppContext;
import de.dhbwloe.campusapp.CampusAppFragment;
import de.dhbwloe.campusapp.R;
import de.dhbwloe.campusapp.mensaplan.MensaplanManager;
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_splashscreen, container, false);
+ TextView versionView = (TextView) view.findViewById(R.id.version);
+ versionView.setText(CampusAppContext.APPVERSION);
+
splashProgress = (ProgressBar)view.findViewById(R.id.splashProgress);
splashProgress.setMax(20);
splashProgress.setProgress(0);