https://drive.google.com/open?id=1fjoe0_dSQsODu00Umxnc0SbTXW5Se5vt

Hello, this video will show you how to design simple login screen with Android studio.
Login screen should be attractive because it is first view which user interact.
that’s why is should be user friendly as well. Lets Start !

  1. Create a new project in Android Studio , you can choose File–>New–>New Project.
    Enter Application Name in this example is Demo, then Package Name, Select the platform next,Empty Activity and click on finish.
    Wait a few minutes because the program is completing gradle.
  2. in the Activity_main.xml we start to set the display in this layout
  3. change from Constraint layout to Relative layout . I choose that because Relative Layout is a layout that is more free (Relative) so that it can be organized anywhere.
  4. Then we open folder where the required media is stored as images and logos.
  5. copy it and paste to drawable.
  6. dont forget to set the backround color, in this example i use gradient background thats provided by drawable.
  7. Then we choose the screen size, here I choose the XL pixel, then set also for the theme, which is Wallpaper NoTittleBar
  8. Drag and drop imageView to layout then search your images name what you have saved in the drawable. And then set layout width and height 150 dp, just adjust it with the screen
  9. Then drag and drop plain text with textSize 16 dp,this will be used as a username field.
  10. Next drag and drop Password text Field ,this will be used as a Password field.then adjust the distance of the margin.
  11. add ImageSet, this functions as a logo . the name is action_user and action_pass
  12. Drag and drop CardView . CardView is the frame layout that will wrap the layout inside with a card-like design. If we see a list of applications on the Google Play Store, the view used is CardView. the feature design is the presence of rounded corners and shadow for elevation effects.
  13. The last, add TextView for the words “Register Here”

Finally, in the finishing step you just do some changes in the layout and test on your device . Good Luck