Posts

Showing posts from August, 2018

How to create a rounded corners Button in Android Studio Step by Step

Image
In order, to create a rounded shape button, follow below steps: Video Tutorial:   STEP 1: Open Android Studio STEP 2: Click on "File>New>Create New Project. STEP 3: In res>layout>activity_main.xml <? xml version= "1.0" encoding= "utf-8" ?> < android.support.constraint.ConstraintLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools" android :layout_width= "match_parent" android :layout_height= "match_parent" tools :context= ".MainActivity" > < LinearLayout android :layout_width= "match_parent" android :layout_height= "match_parent" android :padding= "15dp" android :gravity= "center" > < Button andr