aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2018-04-25 13:34:54 +0200
committermarcinzelent <zelent.marcin@gmail.com>2018-04-25 13:34:54 +0200
commit4de306375a33b2abd067e65658a46d45cba5e56e (patch)
tree00a734df4dcd1d94d0916eee6a6cc1cd98aafa7d /app/src/main/res/layout/activity_reset_password.xml
parent3812f6ccf9d5796f25f81aeea942c25b58296d01 (diff)
Added Firebase authentication
Diffstat (limited to 'app/src/main/res/layout/activity_reset_password.xml')
-rw-r--r--app/src/main/res/layout/activity_reset_password.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_reset_password.xml b/app/src/main/res/layout/activity_reset_password.xml
new file mode 100644
index 0000000..d4cbff0
--- /dev/null
+++ b/app/src/main/res/layout/activity_reset_password.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:background="@color/colorPrimary"
+ android:fitsSystemWindows="true"
+ tools:context="org.marcinzelent.liberavem.LoginActivity">
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="30dp"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:padding="@dimen/activity_horizontal_margin">
+
+
+ <ImageView
+ android:layout_width="@dimen/logo_w_h"
+ android:layout_height="@dimen/logo_w_h"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginBottom="10dp"
+ android:src="@mipmap/ic_launcher" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:padding="10dp"
+ android:text="@string/lbl_forgot_password"
+ android:textColor="@android:color/white"
+ android:textSize="20dp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
+ android:gravity="center_horizontal"
+ android:padding="@dimen/activity_horizontal_margin"
+ android:text="@string/forgot_password_msg"
+ android:textColor="@android:color/white"
+ android:textSize="14dp" />
+
+ <android.support.design.widget.TextInputLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <EditText
+ android:id="@+id/email"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
+ android:layout_marginTop="20dp"
+ android:hint="@string/hint_email"
+ android:inputType="textEmailAddress"
+ android:textColor="@android:color/white"
+ android:textColorHint="@android:color/white" />
+ </android.support.design.widget.TextInputLayout>
+
+ <!-- Login Button -->
+
+ <Button
+ android:id="@+id/btn_reset_password"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dip"
+ android:background="@color/colorAccent"
+ android:text="@string/btn_reset_password"
+ android:textColor="@android:color/black" />
+
+ <Button
+ android:id="@+id/btn_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:background="@null"
+ android:text="@string/btn_back"
+ android:textColor="@color/colorAccent" />
+
+ </LinearLayout>
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_gravity="center|bottom"
+ android:layout_marginBottom="20dp"
+ android:visibility="gone" />
+</android.support.design.widget.CoordinatorLayout> \ No newline at end of file