
(download the font 1 and font 2).Ĭreate some Drawable Resource File in the drawable directory, by right-clicking on the drawable directory, select new / Drawable Resource File.Īfter that open file styles.xml and change like this : false true Īdd the theme property in the Main Activity in the manifest, in the app / manifests / AndroidManifest.xml folder the AndroidManifest.xml file will be as follows: Īfter all the steps above are done, then make 2 fragments with the name fragment_login and fragment_register in the layout directory, by right-clicking on the layout directory, New/Fragment/Fragment (Blank)Ĭhange the activity_main.xml layout, fragment_login.xml and fragment_register.xml so that it will be as below After that, copy this font into font directory. Open the colors.xml file in app/res/values/colors.xml, and change it like this: #00796b #00695C #FF4081 Ĭreate a folder with the name “font” in the res folder, by right clicking on the res directory, select new / directory and name it “font”.


After you click finish, Android Studio will make you an Application with the name “LoginApp”.Īfter the application is successfully built, you can simply make adjustments to the following sections:
