Added Android code
[wl-app.git] / Android / app / src / main / res / layout / activity_login.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3                 xmlns:tools="http://schemas.android.com/tools"
4                 android:layout_width="match_parent"
5                 android:layout_height="match_parent"
6                 android:background="@color/colorPrimary">
7
8     <ImageButton
9         android:id="@+id/ibBack"
10         android:layout_width="wrap_content"
11         android:layout_height="wrap_content"
12         android:layout_marginStart="16dp"
13         android:layout_marginTop="16dp"
14         android:background="?attr/selectableItemBackgroundBorderless"
15         android:src="@drawable/ic_prev_tint"
16         android:tint="@color/white"
17         tools:ignore="ContentDescription"/>
18
19     <LinearLayout
20         android:layout_width="match_parent"
21         android:layout_height="wrap_content"
22         android:layout_centerInParent="true"
23         android:orientation="vertical"
24         android:paddingEnd="30dp"
25         android:paddingStart="30dp">
26
27         <TextView
28             style="@style/PlayerPlaylistText"
29             android:layout_width="match_parent"
30             android:layout_height="wrap_content"
31             android:layout_marginBottom="30dp"
32             android:gravity="center"
33             android:text="@string/login_title"
34             android:textSize="22dp"
35             tools:ignore="SpUsage"/>
36
37         <TextView
38             style="@style/LoginBenefitsText"
39             android:layout_width="match_parent"
40             android:layout_height="wrap_content"
41             android:text="@string/login_benefits"/>
42
43         <TextView
44             style="@style/LoginBenefitsText"
45             android:layout_width="match_parent"
46             android:layout_height="wrap_content"
47             android:text="@string/login_benefits_2"/>
48
49         <TextView
50             style="@style/LoginBenefitsText"
51             android:layout_width="match_parent"
52             android:layout_height="wrap_content"
53             android:text="@string/login_benefits_3"/>
54
55         <Button
56             android:id="@+id/btnLogin"
57             style="@style/RoundedButton.WhiteBorder"
58             android:layout_width="wrap_content"
59             android:layout_gravity="center_horizontal"
60             android:layout_marginTop="40dp"
61             android:paddingEnd="40dp"
62             android:paddingStart="40dp"
63             android:text="@string/menu_login"/>
64     </LinearLayout>
65 </RelativeLayout>