From ce59194228dcc358168332e088eedce2a3635b89 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Sun, 16 Aug 2015 15:01:32 -0400 Subject: More instructions/information --- .../java/com/zeapo/pwdstore/UserPreference.java | 3 +- app/src/main/res/layout/autofill_instructions.xml | 63 ++++++++++++++++++++++ app/src/main/res/layout/fragment_autofill.xml | 8 +-- app/src/main/res/values/strings.xml | 4 +- 4 files changed, 72 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/layout/autofill_instructions.xml diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java index b034ba82..8f8e8d66 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java @@ -15,6 +15,7 @@ import android.preference.PreferenceManager; import android.provider.Settings; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; +import android.text.SpannableStringBuilder; import android.view.MenuItem; import android.view.accessibility.AccessibilityManager; import android.widget.Toast; @@ -204,7 +205,7 @@ public class UserPreference extends AppCompatActivity { public boolean onPreferenceClick(Preference preference) { new AlertDialog.Builder(callingActivity). setTitle(R.string.pref_autofill_enable_title). - setMessage(R.string.pref_autofill_enable_msg). + setView(R.layout.autofill_instructions). setPositiveButton(R.string.dialog_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { diff --git a/app/src/main/res/layout/autofill_instructions.xml b/app/src/main/res/layout/autofill_instructions.xml new file mode 100644 index 00000000..82ad16d1 --- /dev/null +++ b/app/src/main/res/layout/autofill_instructions.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_autofill.xml b/app/src/main/res/layout/fragment_autofill.xml index af2b7017..a5b1ac90 100644 --- a/app/src/main/res/layout/fragment_autofill.xml +++ b/app/src/main/res/layout/fragment_autofill.xml @@ -3,10 +3,10 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingBottom="@dimen/activity_vertical_margin" - android:paddingLeft="@dimen/activity_horizontal_margin" - android:paddingRight="@dimen/activity_horizontal_margin" - android:paddingTop="@dimen/activity_vertical_margin"> + android:paddingLeft="24dp" + android:paddingRight="24dp" + android:paddingTop="20dp" + android:paddingBottom="20dp"> Recursive filtering Recursively find passwords of the current directory. Enable autofill - Tap OK to go to Accessibility settings. Once there, tap Password Store under Services then tap the switch in the top right to turn it on or off. + Tap OK to go to Accessibility settings. There, tap Password Store under Services then tap the switch in the top right to turn it on or off. + Once the service is on, a dialog will appear when you click on a password field in an app if a matching password for the app exists. + Password Store attempts to match apps with passwords automatically. You can change this default setting and also matching settings per-app. Per-app settings Customize autofill settings for specific apps. Automatically match by default -- cgit v1.2.3