From wiki.ginstr.com
Jump to: navigation, search

GnResetPassword

Widget XML tag
<com.ginstr.widgets.GnResetPassword>
Description
GnResetPassword inherits regular Android FrameLayout widget.
It is used to change user login password.

XML Attributes Description

none

Example

<com.ginstr.widgets.GnResetPassword  
  android:id="@+id/resetPassword"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content" />

Alternative layout

If the default look and feel needs to be changed, create widget_en_change_password.xml in current app "control" folder.
To provide alternative layout, the files mentioned above can be set into control folder of the current application. Files must be named as shown above and widgets with Id’s have to stay of same type and keep same id.

widget_en_change_password.xml

Widget Name Description
GnEditText @+id/etPassword this text field represents new password
GnEditText @+id/etPasswordConfirm this text field represents a copy of new password
Button @+id/btnSavePw this button initiates the reset password procedure
Button @+id/btnCancel this button cancels the reset password procedure