-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize default TouchID dialog #263
base: master
Are you sure you want to change the base?
Conversation
@@ -172,7 +179,7 @@ public void onAuthenticated() { | |||
|
|||
@Override | |||
public void onError(String errorString, int errorCode) { | |||
this.mFingerprintError.setText(errorString); | |||
this.mFingerprintError.setText("Try again"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should coming from a strings file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure i will update. Thanks @rolandolopez
android:layout_width="250dp" | ||
android:bottomLeftRadius="30dp" | ||
android:bottomRightRadius="30dp" | ||
android:topLeftRadius="30dp" | ||
android:topRightRadius="10dp" | ||
android:layout_height="match_parent" | ||
android:paddingTop="15dp" | ||
android:paddingBottom="15dp" | ||
android:paddingLeft="30dp" | ||
android:paddingRight="30dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should all be in dimens files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure i will update. Thanks @rolandolopez
android:id="@+id/fingerprint_description" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textSize="14sp" | ||
android:textColor="#c2cee1" | ||
android:letterSpacing="0.02" | ||
android:lineSpacingExtra="6sp" | ||
android:layout_gravity="center" | ||
android:text="Enable Fingerprint" /> | ||
|
||
<LinearLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:orientation="horizontal" | ||
android:paddingBottom="25dp" | ||
android:paddingRight="20dp" | ||
android:paddingTop="25dp"> | ||
<TextView | ||
android:id="@+id/fingerprint_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textSize="12sp" | ||
android:textColor="#33599c" | ||
android:letterSpacing="0.03" | ||
android:lineSpacingExtra="4sp" | ||
android:layout_marginTop="5dp" | ||
android:layout_gravity="center" | ||
android:text="For faster and secure login" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should be in a dimens files and a strings file
No description provided.