About the author

I am an Android developer for whom Android is the one and only love. I work as a freelancer which gets me and Android closer. I always love to share my learnings and love to learn from others knowledge too.

COMMENTS (17)
Reply

i have a problem with the text_selector.xml

it says an expected resource of type xml, i dont know whats the problem.
so, help ASAP

Reply

it also says do login for that valid email id and pass which i haven’t registered in this signup.. why? and also where we ‘ll get forgot password?

    Hi Ishal,

    This article is about only UI of Login, Signup Screens. Here no coding for registering user or forgot password. The error or message that you are getting to valid email id and password is because i put validation that email id and password should be entered and email should be in proper format.
    For proper functionality you have to do server side coding in php, .net or any other then that API you have to integrate with it.

    Thanks

Reply

how i can login and signup activities with MSSQL server and go to user profile after successful login?

Reply

Hello Sir,
I added imageview inside login_layout with png image(56,4 kB) then I got some lag with the animation.
How can to solve this ?
This is my imageview content :

Best Regards

Reja

    Hi Reja,

    You are putting Image directly to your root layout which is not correct way. Use below method to compress and scale the bitmap:

    public static Bitmap convertDrawableIntoBitmap(Context context, int resID, int width, int height) {
    Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), resID);
    return Bitmap.createScaledBitmap(bitmap, width, height, true);
    }

    The above method will return you Bitmap which you have to set to an ImageView.
    So if you had taken your root Layout as Linear or Relative inside that use ImageView with full height and pass the Width and Height of you current screen size.

    In this way you can avoid animation lag.

    Thanks

Reply

Hello Sir,
Thank you for your help,
Your solution decrease the animation lag, but I feel some animation delay for that animation.
When I’m go to signup_layout more fastest to load than login_layout. Also forgotpassword_layout more fastest to load than login_layout.
How can to solve this ?
Sorry for my bad english before.

Best Regards,

Reja

    Hi Reja,

    If you want to delay or make fast your animations then you have to change the duration of the animation which is given in animation xml files with attribute duration. Right now its 300ms duration which you can modify according to your need.

    Thanks

Reply

Hello Sir,
Thank you for your solution.
You saved my day..

Best Regards
Reja

Reply

how can i connect this app to my data base ?

Reply

This is with reference to your url for Login UI, Signup and forgot password UI http://www.androhub.com/login-signup-and-forgot-password-screen-design-android/

Since I’ve been following your tutorial my work is going pretty well, but I’m facing a little bit problem in ForgotPassword.xml as the page is done but whenever I click on the edit text to type the keypad appears resulting in to hiding of my edittexthint due to which I’m unable to see what I’m typing. I’ve followed the same for the xml code but don’t know why it is happening.

This is problem I’m facing, link is given below :
https://drive.google.com/open?id=0B8fdRh5_PUJCYmRERDI0M2ZtN0E

Thank you so much!

    Hi Alok,

    You are using custom background to your EditText which causes hiding Hint Text. So remove your custom background and try it will work.

    Thanks

Reply

android:drawableStart=”@drawable/password”
Error showing in drawable paasword in login_layout.xml

    Hi Siddhant Raj,

    Please check do you have any drawable with name password in drawable folder or not. The error is due to non availability of requested drawable.

    Thanks

Leave a Comment

Comment (required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Name (required)
Email (required)