Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in Mobile development Login Page (Interactions) On the login page: Enter yourname (under the username) NO pwd Click on button Display your name on the

in Mobile development

  1. Login Page (Interactions)

On the login page:

Enter yourname (under the username) NO pwd

Click on button

Display your name on the TextView

  • Layout: add onClick() to button
  • On the mainActivity add method onClick()
  • Get the ref from textview
  • Get the value convert to string
  • Set the value to text view

public void display(View V){ EditText text = (EditText) findViewById(R.id.editText); TextView tv = (TextView) findViewById(R.id.textView); tv.setText(text.getText().toString()); }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

=+ What are the information and consultation requirements?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago