Question
I need help with this assignment I am using Kotlin programming for biginner This assignment is based on Horton, chapters 1 and 2. In Android
I need help with this assignment I am using Kotlin programming for biginner
This assignment is based on Horton, chapters 1 and 2.
In Android Studio, create a project with an Empty Activity, and build for minimum API of Marshmallow (API 23). Do NOT build for more recent APIs!!
Your package name should be your email, the project name should be HWA2_YourInitials - for example, for me, this would be HWA2_LM.
Edit the "Hello World" text to display your Name, and rename the TextView field appropriately
Add a second TextView field, position it at least 16dp below the first TextView field, and have it display your major. Name it appropriately.
Add a button below the two TextView fields that has the text "show email". Name it appropriately. When the button is clicked, call a function that:
creates a Toast that displays your email outputs an informational message to the logcat with the name of your function has a comment above the function describing the function and its parameters and returns (if any) Test your project on a Nexus 5S to make sure that the layout fits.
Zip the project and upload
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started