├── .classpath ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── bin ├── AndroidManifest.xml ├── PayPassWordDemo.apk ├── classes.dex ├── classes │ └── com │ │ └── amberwhitesky │ │ ├── dialog │ │ ├── CustomDialog$1.class │ │ ├── CustomDialog$InputDialogListener.class │ │ └── CustomDialog.class │ │ ├── imbeg │ │ ├── ImeDelBugFixedEditText$OnDelKeyEventListener.class │ │ ├── ImeDelBugFixedEditText$ZanyInputConnection.class │ │ └── ImeDelBugFixedEditText.class │ │ ├── main │ │ ├── MainActivity$1.class │ │ ├── MainActivity$2.class │ │ ├── MainActivity$3.class │ │ └── MainActivity.class │ │ ├── paypassworddemo │ │ ├── BuildConfig.class │ │ ├── R$attr.class │ │ ├── R$dimen.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$menu.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ ├── R$styleable.class │ │ └── R.class │ │ └── pwd │ │ ├── CustomPasswordTransformationMethod$PasswordCharSequence.class │ │ ├── CustomPasswordTransformationMethod.class │ │ ├── GridPasswordView$1.class │ │ ├── GridPasswordView$2.class │ │ ├── GridPasswordView$3.class │ │ ├── GridPasswordView$4.class │ │ ├── GridPasswordView$OnPasswordChangedListener.class │ │ ├── GridPasswordView.class │ │ ├── PasswordType.class │ │ ├── PasswordView.class │ │ └── Util.class ├── dexedLibs │ └── android-support-v4-ee95625d3f2efc2122923dd0309502c8.jar ├── res │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ └── ic_launcher.png └── resources.ap_ ├── gen └── com │ └── amberwhitesky │ └── paypassworddemo │ ├── BuildConfig.java │ └── R.java ├── ic_launcher-web.png ├── libs └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── drawable │ ├── cancel_btn_select.xml │ ├── confirm_btn_select.xml │ ├── custom_dialog_cancel_shape.xml │ ├── custom_dialog_shape.xml │ └── dialog_bg.xml ├── layout │ ├── activity_main.xml │ ├── customdialog.xml │ ├── divider.xml │ ├── gridpasswordview.xml │ └── textview.xml ├── menu │ └── main.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml ├── values-w820dp │ └── dimens.xml └── values │ ├── attr.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml └── src └── com └── amberwhitesky ├── dialog └── CustomDialog.java ├── imbeg └── ImeDelBugFixedEditText.java ├── main └── MainActivity.java └── pwd ├── CustomPasswordTransformationMethod.java ├── GridPasswordView.java ├── PasswordType.java ├── PasswordView.java └── Util.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | PayPassWordDemo 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /bin/PayPassWordDemo.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/PayPassWordDemo.apk -------------------------------------------------------------------------------- /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes.dex -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/dialog/CustomDialog$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/dialog/CustomDialog$1.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/dialog/CustomDialog$InputDialogListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/dialog/CustomDialog$InputDialogListener.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/dialog/CustomDialog.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/dialog/CustomDialog.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText$OnDelKeyEventListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText$OnDelKeyEventListener.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText$ZanyInputConnection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText$ZanyInputConnection.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/imbeg/ImeDelBugFixedEditText.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/main/MainActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/main/MainActivity$1.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/main/MainActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/main/MainActivity$2.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/main/MainActivity$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/main/MainActivity$3.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/main/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/main/MainActivity.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$attr.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$dimen.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$drawable.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$id.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$menu.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R$styleable.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/paypassworddemo/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/paypassworddemo/R.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/CustomPasswordTransformationMethod$PasswordCharSequence.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/CustomPasswordTransformationMethod$PasswordCharSequence.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/CustomPasswordTransformationMethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/CustomPasswordTransformationMethod.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView$1.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView$2.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView$3.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView$4.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView$OnPasswordChangedListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView$OnPasswordChangedListener.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/GridPasswordView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/GridPasswordView.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/PasswordType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/PasswordType.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/PasswordView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/PasswordView.class -------------------------------------------------------------------------------- /bin/classes/com/amberwhitesky/pwd/Util.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/classes/com/amberwhitesky/pwd/Util.class -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-ee95625d3f2efc2122923dd0309502c8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/dexedLibs/android-support-v4-ee95625d3f2efc2122923dd0309502c8.jar -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/bin/resources.ap_ -------------------------------------------------------------------------------- /gen/com/amberwhitesky/paypassworddemo/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.amberwhitesky.paypassworddemo; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/amberwhitesky/paypassworddemo/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.amberwhitesky.paypassworddemo; 9 | 10 | public final class R { 11 | public static final class attr { 12 | /**

Must be a color value, in the form of "#rgb", "#argb", 13 | "#rrggbb", or "#aarrggbb". 14 |

This may also be a reference to a resource (in the form 15 | "@[package:]type:name") or 16 | theme attribute (in the form 17 | "?[package:][type:]name") 18 | containing a value of this type. 19 | */ 20 | public static final int gridColor=0x7f010003; 21 | /**

Must be a color value, in the form of "#rgb", "#argb", 22 | "#rrggbb", or "#aarrggbb". 23 |

This may also be a reference to a resource (in the form 24 | "@[package:]type:name") or 25 | theme attribute (in the form 26 | "?[package:][type:]name") 27 | containing a value of this type. 28 | */ 29 | public static final int lineColor=0x7f010002; 30 | /**

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 31 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 32 | in (inches), mm (millimeters). 33 |

This may also be a reference to a resource (in the form 34 | "@[package:]type:name") or 35 | theme attribute (in the form 36 | "?[package:][type:]name") 37 | containing a value of this type. 38 | */ 39 | public static final int lineWidth=0x7f010004; 40 | /**

Must be an integer value, such as "100". 41 |

This may also be a reference to a resource (in the form 42 | "@[package:]type:name") or 43 | theme attribute (in the form 44 | "?[package:][type:]name") 45 | containing a value of this type. 46 | */ 47 | public static final int passwordLength=0x7f010005; 48 | /**

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. 49 |

This may also be a reference to a resource (in the form 50 | "@[package:]type:name") or 51 | theme attribute (in the form 52 | "?[package:][type:]name") 53 | containing a value of this type. 54 | */ 55 | public static final int passwordTransformation=0x7f010006; 56 | /**

Must be one of the following constant values.

57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
ConstantValueDescription
numberPassword0
textPassword1
textVisiblePassword2
textWebPassword3
67 | */ 68 | public static final int passwordType=0x7f010007; 69 | /**

May be a reference to another resource, in the form "@[+][package:]type:name" 70 | or to a theme attribute in the form "?[package:][type:]name". 71 |

May be a color value, in the form of "#rgb", "#argb", 72 | "#rrggbb", or "#aarrggbb". 73 | */ 74 | public static final int textColor=0x7f010000; 75 | /**

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 76 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 77 | in (inches), mm (millimeters). 78 |

This may also be a reference to a resource (in the form 79 | "@[package:]type:name") or 80 | theme attribute (in the form 81 | "?[package:][type:]name") 82 | containing a value of this type. 83 | */ 84 | public static final int textSize=0x7f010001; 85 | } 86 | public static final class dimen { 87 | /** Default screen margins, per the Android Design guidelines. 88 | 89 | Example customization of dimensions originally defined in res/values/dimens.xml 90 | (such as screen margins) for screens with more than 820dp of available width. This 91 | would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). 92 | 93 | */ 94 | public static final int activity_horizontal_margin=0x7f040000; 95 | public static final int activity_vertical_margin=0x7f040001; 96 | } 97 | public static final class drawable { 98 | public static final int cancel_btn_select=0x7f020000; 99 | public static final int confirm_btn_select=0x7f020001; 100 | public static final int custom_dialog_cancel_shape=0x7f020002; 101 | public static final int custom_dialog_shape=0x7f020003; 102 | public static final int dialog_bg=0x7f020004; 103 | public static final int ic_launcher=0x7f020005; 104 | } 105 | public static final class id { 106 | public static final int action_settings=0x7f08000a; 107 | public static final int cancel_btn=0x7f080007; 108 | public static final int confirm_btn=0x7f080008; 109 | public static final int inputView=0x7f080009; 110 | public static final int layout=0x7f080005; 111 | public static final int numberPassword=0x7f080000; 112 | public static final int password=0x7f080006; 113 | public static final int password_et=0x7f080004; 114 | public static final int textPassword=0x7f080001; 115 | public static final int textVisiblePassword=0x7f080002; 116 | public static final int textWebPassword=0x7f080003; 117 | } 118 | public static final class layout { 119 | public static final int activity_main=0x7f030000; 120 | public static final int customdialog=0x7f030001; 121 | public static final int divider=0x7f030002; 122 | public static final int gridpasswordview=0x7f030003; 123 | public static final int textview=0x7f030004; 124 | } 125 | public static final class menu { 126 | public static final int main=0x7f070000; 127 | } 128 | public static final class string { 129 | public static final int action_settings=0x7f050002; 130 | public static final int app_name=0x7f050000; 131 | public static final int hello_world=0x7f050001; 132 | } 133 | public static final class style { 134 | /** 135 | Base application theme, dependent on API level. This theme is replaced 136 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 137 | 138 | 139 | Theme customizations available in newer API levels can go in 140 | res/values-vXX/styles.xml, while customizations related to 141 | backward-compatibility can go here. 142 | 143 | 144 | Base application theme for API 11+. This theme completely replaces 145 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 146 | 147 | API 11 theme customizations can go here. 148 | 149 | Base application theme for API 14+. This theme completely replaces 150 | AppBaseTheme from BOTH res/values/styles.xml and 151 | res/values-v11/styles.xml on API 14+ devices. 152 | 153 | API 14 theme customizations can go here. 154 | */ 155 | public static final int AppBaseTheme=0x7f060000; 156 | /** Application theme. 157 | All customizations that are NOT specific to a particular API-level can go here. 158 | */ 159 | public static final int AppTheme=0x7f060001; 160 | /** 添加 161 | */ 162 | public static final int GridPasswordView=0x7f060004; 163 | public static final int GridPasswordView_Divider=0x7f060007; 164 | public static final int GridPasswordView_EditText=0x7f060006; 165 | public static final int GridPasswordView_TextView=0x7f060005; 166 | public static final int mystyle=0x7f060003; 167 | public static final int text_style=0x7f060002; 168 | } 169 | public static final class styleable { 170 | /** Attributes that can be used with a gridPasswordView. 171 |

Includes the following attributes:

172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 |
AttributeDescription
{@link #gridPasswordView_gridColor com.amberwhitesky.paypassworddemo:gridColor}
{@link #gridPasswordView_lineColor com.amberwhitesky.paypassworddemo:lineColor}
{@link #gridPasswordView_lineWidth com.amberwhitesky.paypassworddemo:lineWidth}
{@link #gridPasswordView_passwordLength com.amberwhitesky.paypassworddemo:passwordLength}
{@link #gridPasswordView_passwordTransformation com.amberwhitesky.paypassworddemo:passwordTransformation}
{@link #gridPasswordView_passwordType com.amberwhitesky.paypassworddemo:passwordType}
{@link #gridPasswordView_textColor com.amberwhitesky.paypassworddemo:textColor}
{@link #gridPasswordView_textSize com.amberwhitesky.paypassworddemo:textSize}
185 | @see #gridPasswordView_gridColor 186 | @see #gridPasswordView_lineColor 187 | @see #gridPasswordView_lineWidth 188 | @see #gridPasswordView_passwordLength 189 | @see #gridPasswordView_passwordTransformation 190 | @see #gridPasswordView_passwordType 191 | @see #gridPasswordView_textColor 192 | @see #gridPasswordView_textSize 193 | */ 194 | public static final int[] gridPasswordView = { 195 | 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 196 | 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007 197 | }; 198 | /** 199 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#gridColor} 200 | attribute's value can be found in the {@link #gridPasswordView} array. 201 | 202 | 203 |

Must be a color value, in the form of "#rgb", "#argb", 204 | "#rrggbb", or "#aarrggbb". 205 |

This may also be a reference to a resource (in the form 206 | "@[package:]type:name") or 207 | theme attribute (in the form 208 | "?[package:][type:]name") 209 | containing a value of this type. 210 | @attr name com.amberwhitesky.paypassworddemo:gridColor 211 | */ 212 | public static final int gridPasswordView_gridColor = 3; 213 | /** 214 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#lineColor} 215 | attribute's value can be found in the {@link #gridPasswordView} array. 216 | 217 | 218 |

Must be a color value, in the form of "#rgb", "#argb", 219 | "#rrggbb", or "#aarrggbb". 220 |

This may also be a reference to a resource (in the form 221 | "@[package:]type:name") or 222 | theme attribute (in the form 223 | "?[package:][type:]name") 224 | containing a value of this type. 225 | @attr name com.amberwhitesky.paypassworddemo:lineColor 226 | */ 227 | public static final int gridPasswordView_lineColor = 2; 228 | /** 229 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#lineWidth} 230 | attribute's value can be found in the {@link #gridPasswordView} array. 231 | 232 | 233 |

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 234 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 235 | in (inches), mm (millimeters). 236 |

This may also be a reference to a resource (in the form 237 | "@[package:]type:name") or 238 | theme attribute (in the form 239 | "?[package:][type:]name") 240 | containing a value of this type. 241 | @attr name com.amberwhitesky.paypassworddemo:lineWidth 242 | */ 243 | public static final int gridPasswordView_lineWidth = 4; 244 | /** 245 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#passwordLength} 246 | attribute's value can be found in the {@link #gridPasswordView} array. 247 | 248 | 249 |

Must be an integer value, such as "100". 250 |

This may also be a reference to a resource (in the form 251 | "@[package:]type:name") or 252 | theme attribute (in the form 253 | "?[package:][type:]name") 254 | containing a value of this type. 255 | @attr name com.amberwhitesky.paypassworddemo:passwordLength 256 | */ 257 | public static final int gridPasswordView_passwordLength = 5; 258 | /** 259 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#passwordTransformation} 260 | attribute's value can be found in the {@link #gridPasswordView} array. 261 | 262 | 263 |

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. 264 |

This may also be a reference to a resource (in the form 265 | "@[package:]type:name") or 266 | theme attribute (in the form 267 | "?[package:][type:]name") 268 | containing a value of this type. 269 | @attr name com.amberwhitesky.paypassworddemo:passwordTransformation 270 | */ 271 | public static final int gridPasswordView_passwordTransformation = 6; 272 | /** 273 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#passwordType} 274 | attribute's value can be found in the {@link #gridPasswordView} array. 275 | 276 | 277 |

Must be one of the following constant values.

278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 |
ConstantValueDescription
numberPassword0
textPassword1
textVisiblePassword2
textWebPassword3
288 | @attr name com.amberwhitesky.paypassworddemo:passwordType 289 | */ 290 | public static final int gridPasswordView_passwordType = 7; 291 | /** 292 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#textColor} 293 | attribute's value can be found in the {@link #gridPasswordView} array. 294 | 295 | 296 |

May be a reference to another resource, in the form "@[+][package:]type:name" 297 | or to a theme attribute in the form "?[package:][type:]name". 298 |

May be a color value, in the form of "#rgb", "#argb", 299 | "#rrggbb", or "#aarrggbb". 300 | @attr name com.amberwhitesky.paypassworddemo:textColor 301 | */ 302 | public static final int gridPasswordView_textColor = 0; 303 | /** 304 |

This symbol is the offset where the {@link com.amberwhitesky.paypassworddemo.R.attr#textSize} 305 | attribute's value can be found in the {@link #gridPasswordView} array. 306 | 307 | 308 |

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". 309 | Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), 310 | in (inches), mm (millimeters). 311 |

This may also be a reference to a resource (in the form 312 | "@[package:]type:name") or 313 | theme attribute (in the form 314 | "?[package:][type:]name") 315 | containing a value of this type. 316 | @attr name com.amberwhitesky.paypassworddemo:textSize 317 | */ 318 | public static final int gridPasswordView_textSize = 1; 319 | }; 320 | } 321 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/libs/android-support-v4.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmberWhiteSky/PayPassWordDemo/f90a151fc320ae917440eef07765b5153c047361/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable/cancel_btn_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /res/drawable/confirm_btn_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /res/drawable/custom_dialog_cancel_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 15 | 18 | 19 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /res/drawable/custom_dialog_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 15 | 18 | 19 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /res/drawable/dialog_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 18 | 19 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /res/layout/customdialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | 15 | 22 | 23 | 29 | 30 | 34 | 35 | 36 | 37 | 43 | 44 | 45 | 49 | 50 | 51 | 58 | 59 |