Autocomplete Feature für Kursnamen hinzugefügt (eigene API, da von DHBW nicht bereitg...
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_first_run.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:orientation="vertical"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     tools:context="de.dhbwloe.campusapp.fragments.FirstRun"
7     android:padding="8dp">
8
9     <RelativeLayout
10         android:layout_width="match_parent"
11         android:layout_height="wrap_content">
12
13         <TextView
14             android:layout_width="match_parent"
15             android:layout_height="wrap_content"
16             android:text="@string/firstrun_select_couse"
17             android:id="@+id/textView19" />
18
19         <TextView
20             android:layout_width="wrap_content"
21             android:layout_height="wrap_content"
22             android:text="@string/firstrun_select_couse_example"
23             android:id="@+id/textView20"
24             android:layout_below="@+id/textView19" />
25
26         <RelativeLayout
27             android:layout_width="wrap_content"
28             android:layout_height="wrap_content"
29             android:layout_centerHorizontal="true"
30             android:layout_below="@+id/textView20">
31
32             <AutoCompleteTextView
33                 android:layout_width="150dp"
34                 android:layout_height="wrap_content"
35                 android:id="@+id/courseInput"
36                 android:layout_gravity="center_horizontal"
37                 android:layout_alignWithParentIfMissing="false"
38                 android:imeOptions="actionDone"
39                 android:singleLine="true"/>
40
41             <Button
42                 android:layout_width="wrap_content"
43                 android:layout_height="wrap_content"
44                 android:text="@string/firstrun_course_ok_button"
45                 android:id="@+id/courseSubmitBtn"
46                 android:layout_toRightOf="@+id/courseInput" />
47         </RelativeLayout>
48
49     </RelativeLayout>
50
51     <TextView
52         android:layout_width="wrap_content"
53         android:layout_height="wrap_content"
54         android:text="@string/firstrun_run_as_guest"
55         android:id="@+id/textView21"
56         android:layout_gravity="center_horizontal"
57         android:layout_marginTop="18dp" />
58
59     <Button
60         android:layout_width="wrap_content"
61         android:layout_height="wrap_content"
62         android:text="@string/firstrun_run_as_guest_button"
63         android:id="@+id/startAppBtn"
64         android:layout_gravity="center_horizontal" />
65
66     <TextView
67         android:layout_width="wrap_content"
68         android:layout_height="wrap_content"
69         android:text="@string/firstrun_settings_note"
70         android:id="@+id/textView22"
71         android:layout_gravity="center_horizontal"
72         android:layout_marginTop="18dp" />
73
74     <TextView
75         android:layout_width="wrap_content"
76         android:layout_height="wrap_content"
77         android:textAppearance="?android:attr/textAppearanceSmall"
78         android:text="@string/firstrun_slow_note"
79         android:id="@+id/textView23"
80         android:layout_gravity="center_horizontal"
81         android:layout_marginTop="24dp"
82         android:textColor="@color/color_dhbw_lightgray" />
83
84 </LinearLayout>