Log In UI Awesome Design




In this artical I will tell you how you can design awesome UI using simple XML code just follow this post and do the same which I told here...





1. Creating New Project

1. Create a new project in Android Studio from File ⇒ New Project and select Basic Activityfrom templates.
2. Enable AppCompact-V7 and design in app/build.gradle. And Sync the project.


3. Download this Image file and past it in your project drawable folder.



4. Add the below resources to drawable folder but_background.xmlshadow.xml.

but_background.xml


shadow.xml.



5. Go to app\src\main\res\values and open style.xml file and change Theme.AppCompat.Light.DarkActionbar to Theme.AppCompat.Light.NoActionBar


6. Now open your activity_main.xml file and past all of the code from bellow.


7. Now open you MainActivity.java file and past all the java code from bellow.


Thanks for visiting and thanks for your time if you have any suggestions and want to share any feed back then comment down bellow and if you face any issue then let me know in the comment section also share this with your friends

Comments