Added Android code
[wl-app.git] / Android / app / src / main / res / layout / activity_login.xml
diff --git a/Android/app/src/main/res/layout/activity_login.xml b/Android/app/src/main/res/layout/activity_login.xml
new file mode 100644 (file)
index 0000000..ead6bf6
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+                xmlns:tools="http://schemas.android.com/tools"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:background="@color/colorPrimary">
+
+    <ImageButton
+        android:id="@+id/ibBack"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginStart="16dp"
+        android:layout_marginTop="16dp"
+        android:background="?attr/selectableItemBackgroundBorderless"
+        android:src="@drawable/ic_prev_tint"
+        android:tint="@color/white"
+        tools:ignore="ContentDescription"/>
+
+    <LinearLayout
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_centerInParent="true"
+        android:orientation="vertical"
+        android:paddingEnd="30dp"
+        android:paddingStart="30dp">
+
+        <TextView
+            style="@style/PlayerPlaylistText"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginBottom="30dp"
+            android:gravity="center"
+            android:text="@string/login_title"
+            android:textSize="22dp"
+            tools:ignore="SpUsage"/>
+
+        <TextView
+            style="@style/LoginBenefitsText"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:text="@string/login_benefits"/>
+
+        <TextView
+            style="@style/LoginBenefitsText"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:text="@string/login_benefits_2"/>
+
+        <TextView
+            style="@style/LoginBenefitsText"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:text="@string/login_benefits_3"/>
+
+        <Button
+            android:id="@+id/btnLogin"
+            style="@style/RoundedButton.WhiteBorder"
+            android:layout_width="wrap_content"
+            android:layout_gravity="center_horizontal"
+            android:layout_marginTop="40dp"
+            android:paddingEnd="40dp"
+            android:paddingStart="40dp"
+            android:text="@string/menu_login"/>
+    </LinearLayout>
+</RelativeLayout>
\ No newline at end of file