Tag Archives: Design

featured_logo

Hey Folks ! How are you all, Today I am going to show you how to develop an Login and Registration Form with cool design and coding . Get started with designing part and let me tell you one thing this registration form will be used in our upcoming tutorial series so keep visiting our next articles.Now lets start with coding –

Before starting I want to share something with you that colour coding should be good so that your application should look cool and understandable. You can use my colour code library for that , here is one look for that –

color_androidarena

android arena_colors

Step 1  – Create new project and give whatever name you want and see I have used two gradient xml in drwable folder for designing –

Note – Icons is in downloaded code drawable-hdpi folder.

Download code

This file namely greybackound.xml is basically a gradient file for designing ,It is situated in drawable folder.

Right click on res –> New folder –> drawable and paste the following codes.

greybackground.xml

btn.xml is for button gradient like corner is circled.

 Login.xml file for login form design , paste this below code in your project –

login

login_output

 

Now activity_main.xml which is your Registration xml file paste the below code here –

activity_main.xml

 

registration

registration_output

Now Coding part in java, I just simply connect two pages on click of Register here Text in login page. so here is my Login.java file-

MainActivity.java

 AndroidManifest.xml file .

So final hierarchy of the project will be –

heirachy_android

Output –

login_output

 reg_ouput

 

For more query and errors do post and comment in the below Disqus section :p till then Happy Coding  :p