aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-09 19:46:44 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-09 19:46:44 -0700
commitab1814ea9b50feebce21aff2759172d7193afa7a (patch)
treee920045d77f15f54213b93ebdd3230133ef76a6e /res
parentb573caa53594995e5587d62e1f4d999452e23a41 (diff)
downloaddsub-ab1814ea9b50feebce21aff2759172d7193afa7a.tar.gz
dsub-ab1814ea9b50feebce21aff2759172d7193afa7a.tar.bz2
dsub-ab1814ea9b50feebce21aff2759172d7193afa7a.zip
#171 Add change password, delete user, start of user settings fragment
Diffstat (limited to 'res')
-rw-r--r--res/layout/change_password.xml28
-rw-r--r--res/values/strings.xml6
2 files changed, 34 insertions, 0 deletions
diff --git a/res/layout/change_password.xml b/res/layout/change_password.xml
new file mode 100644
index 00000000..ad3e9cd8
--- /dev/null
+++ b/res/layout/change_password.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/new_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_label" />
+ <EditText
+ android:id="@+id/new_password"
+ android:inputType="textPassword"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8fb6f164..3148ae99 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -449,7 +449,13 @@
<string name="admin.update_permissions">Update Permissions</string>
<string name="admin.change_password">Change Password</string>
+ <string name="admin.change_password_success">Successfully changed password for %1$s</string>
+ <string name="admin.change_password_error">Failed to change password for %1$s</string>
+ <string name="admin.change_password_label">New Password:</string>
+ <string name="admin.change_password_invalid">Enter a valid password</string>
<string name="admin.delete_user">Delete User</string>
+ <string name="admin.delete_user_success">Successfully deleted %1$s</string>
+ <string name="admin.delete_user_error">Failed to delete %1$s</string>
<string name="music_service.retry">A network error occurred. Retrying %1$d of %2$d.</string>