aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-09 17:23:33 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-09 17:23:33 -0800
commit19273a993c37a4f989faf326df03b9f396a5f1a5 (patch)
tree2b0467b3a6d1a3d6464624d25f6bc73f556c17d2 /app/src/main/res/layout
parentc991a5db04792ad00cb6b1282d378c810dd297df (diff)
downloaddsub-19273a993c37a4f989faf326df03b9f396a5f1a5.tar.gz
dsub-19273a993c37a4f989faf326df03b9f396a5f1a5.tar.bz2
dsub-19273a993c37a4f989faf326df03b9f396a5f1a5.zip
Add requirement for current user password when changing as non-admin
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/change_password.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/app/src/main/res/layout/change_password.xml b/app/src/main/res/layout/change_password.xml
index d8043c05..68861b0b 100644
--- a/app/src/main/res/layout/change_password.xml
+++ b/app/src/main/res/layout/change_password.xml
@@ -4,7 +4,30 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ <LinearLayout
+ android:id="@+id/current_password_layout"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/current_password_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/admin.change_password_current_label"
+ android:textColor="?android:textColorPrimary"/>
+ <EditText
+ android:id="@+id/current_password"
+ android:inputType="textPassword"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp" />
+ </LinearLayout>
+
+ <LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">