Skip to content
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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

saikiran-sankey-zz
Copy link

No description provided.

@@ -172,7 +179,7 @@ public void onAuthenticated() {

@Override
public void onError(String errorString, int errorCode) {
this.mFingerprintError.setText(errorString);
this.mFingerprintError.setText("Try again");

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

Copy link
Author

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

Comment on lines +5 to +14
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"

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

Copy link
Author

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

Comment on lines 29 to 49
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" />

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants