aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-15 17:49:13 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-15 17:49:13 -0700
commitf851f1421a9fbeec065df4ee06042e7513eb30b8 (patch)
treef9d85048220498fac49109d8011a369ec7cc01df /res
parentd04a5041c3467e5a289f6af3b07fbcb20a6ea078 (diff)
downloaddsub-f851f1421a9fbeec065df4ee06042e7513eb30b8.tar.gz
dsub-f851f1421a9fbeec065df4ee06042e7513eb30b8.tar.bz2
dsub-f851f1421a9fbeec065df4ee06042e7513eb30b8.zip
#368 Finish up requiring password for admin tab
Diffstat (limited to 'res')
-rw-r--r--res/layout/confirm_password.xml28
-rw-r--r--res/values/strings.xml2
2 files changed, 30 insertions, 0 deletions
diff --git a/res/layout/confirm_password.xml b/res/layout/confirm_password.xml
new file mode 100644
index 00000000..97cbcac3
--- /dev/null
+++ b/res/layout/confirm_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/password_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/admin.add_user_password" />
+ <EditText
+ android:id="@+id/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 77f18ea9..537e4649 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -464,6 +464,8 @@
<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="admin.confirm_password">Confirm Password</string>
+ <string name="admin.confirm_password_bad">Entered password is wrong</string>
<string name="admin.scrobblingEnabled">Scrobbling allowed</string>
<string name="admin.role.admin">Administrator</string>