I want to design a login and register layout using android tabs. Image is as shown below. how do i proceed
I want to design a login and register layout using android tabs. Image is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would use the Android API Support Library and the sample
FragmentTabsPagerlocated at http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentTabsPager.htmlYou would have two tabs, corresponding to two
Fragmentsthat you could name RegisterFragment and LoginFragment.Basically you would remove the lines
and replace them with
Then you implement those Fragments and integrate this code into your Activity. You’ll also need to integrate the fragment_tabs_pager.xml layout into your layout.