Grundaufbau der App
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_splashscreen.xml
1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     tools:context=".fragments.SplashScreen">
6
7     <!-- TODO: Update blank fragment layout -->
8
9     <ImageView
10         android:layout_width="wrap_content"
11         android:layout_height="wrap_content"
12         android:id="@+id/splashImage"
13         android:layout_centerVertical="true"
14         android:layout_centerHorizontal="true"
15         android:src="@drawable/dhbw_campus_hd"
16         android:scaleType="centerCrop" />
17
18     <ProgressBar
19         android:layout_width="match_parent"
20         android:layout_height="20dp"
21         android:id="@+id/splashProgress"
22         android:layout_alignParentBottom="true"
23         android:layout_alignParentLeft="true"
24         android:layout_alignParentStart="true"
25         android:layout_alignParentRight="true"
26         android:layout_alignParentEnd="true"
27         style="?android:attr/progressBarStyleHorizontal" />
28
29     <ImageView
30         android:layout_width="200dp"
31         android:layout_height="wrap_content"
32         android:id="@+id/imageView3"
33         android:src="@drawable/dhbw_logo"
34         android:adjustViewBounds="true"
35         android:layout_margin="8dp" />
36
37     <TextView
38         android:layout_width="wrap_content"
39         android:layout_height="wrap_content"
40         android:text="Loading..."
41         android:id="@+id/textView"
42         android:layout_above="@+id/splashProgress"
43         android:layout_centerHorizontal="true" />
44
45 </RelativeLayout>