android intent tutorial 2
DESCRIPTION
Android Intent programming, launch new activity on button click event, custom button, layout background changes, manifest.xml configuration.TRANSCRIPT
Android Application DevelopmentTutorial 2
Intent Programming
Let’s start New Project
Fill the project details
Let’s create Custom Button
Create new drawable file
Complete the details
Button background
Layout background color
Main Activity Layout
Add a new string in string.xml
String name and value
Let’s create second layout
Second Activity Layout
Create a new java class
Naming the .java file
Changes in MainActivity & SecondActivity
Finally register new activity in manifest file
Browse for class name
AndroidManifest.xml
Run the project on AVD