Posts

Make a Login Activity in Android Studio

Image
  Make a Login Activity in Android Studio  In this tutorial, we will show you how to design the user interface of a beautiful login activity using android studio, in the second part of this tutorial we will show you how can we activate our login form by adding some java code. Create a new Project Let's start by opening Android Studio and create a new project Then choose empty activity and click on next - Type the project name and choose the minimum API level and click on finishand now let's start to code our user interface for that select the " activity_main.xml " and place the code bellow N.B: for this tutorial, we will use an image as a background for our first  TextView  so you can choose any image that you want and place it inside the folder  Drawable,  also we will create a custom shape for the background of the button. Activity_main.xml Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andr...