alpha 0.0.2
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_first_run.xml
index 8596249ac6139da54ae85aaa37654ce750994565..436457e07006d09ca8c1759c86364b05c3541571 100644 (file)
@@ -3,18 +3,80 @@
     android:orientation="vertical"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    tools:context="de.dhbwloe.campusapp.fragments.FirstRun">
+    tools:context="de.dhbwloe.campusapp.fragments.FirstRun"
+    android:padding="8dp">
 
-    <TextView
+    <RelativeLayout
         android:layout_width="match_parent"
+        android:layout_height="wrap_content">
+
+        <TextView
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:text="@string/firstrun_select_couse"
+            android:id="@+id/textView19" />
+
+        <TextView
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:text="@string/firstrun_select_couse_example"
+            android:id="@+id/textView20"
+            android:layout_below="@+id/textView19" />
+
+        <RelativeLayout
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerHorizontal="true"
+            android:layout_below="@+id/textView20">
+
+            <EditText
+                android:layout_width="150dp"
+                android:layout_height="wrap_content"
+                android:id="@+id/courseInput"
+                android:layout_gravity="center_horizontal"
+                android:layout_alignWithParentIfMissing="false" />
+
+            <Button
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:text="@string/firstrun_course_ok_button"
+                android:id="@+id/courseSubmitBtn"
+                android:layout_toRightOf="@+id/courseInput" />
+        </RelativeLayout>
+
+    </RelativeLayout>
+
+    <TextView
+        android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:text="{FirstRun}" />
+        android:text="@string/firstrun_run_as_guest"
+        android:id="@+id/textView21"
+        android:layout_gravity="center_horizontal"
+        android:layout_marginTop="18dp" />
 
     <Button
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:text="Start App"
+        android:text="@string/firstrun_run_as_guest_button"
         android:id="@+id/startAppBtn"
         android:layout_gravity="center_horizontal" />
 
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="@string/firstrun_settings_note"
+        android:id="@+id/textView22"
+        android:layout_gravity="center_horizontal"
+        android:layout_marginTop="18dp" />
+
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:textAppearance="?android:attr/textAppearanceSmall"
+        android:text="@string/firstrun_slow_note"
+        android:id="@+id/textView23"
+        android:layout_gravity="center_horizontal"
+        android:layout_marginTop="24dp"
+        android:textColor="@color/color_dhbw_lightgray" />
+
 </LinearLayout>