please answer if you know Which class can be thought of as a \"User Interface\"
ID: 3534146 • Letter: P
Question
please answer if you know
Which class can be thought of as a "User Interface" In Android, they typically present a single visual user Interface from which a number of actions can be performed? Which Android layout would be best-suited to create a telephone handset GUI which has three rows of three keys each with labels, 1,2,3,4,5,6,7,8,9, and a fourth row with labels *, 0, and #? If you do not use a VieyyGrouj3(l,e. Layout) when specifying an Activity's content, how many GUI controls (Views) can an Activity have? Which of the following are examples of a ViewGroup? TableLayout - Button - TextView - Intent If the method makeButton Is called 4 times, how many MyButtonListener objects will be created? public Button makeButton(Context context, String buttonText) { Button button = new Button(context); button.setText(buttonText); class MyButtonListener implements OnClickListener { public void onClick(View v) { doSomething(); } } button.setOnClickListener(new MyButtonListener()); return button; }Explanation / Answer
Hi, Please find the answers and rate if okay
1) View Group - http://developer.android.com/training/basics/firstapp/building-ui.html
2) GridLayout - http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-creating-a-numeric-keypad-with-gridlayout/
3) No idea
4)Only TableLayout, Button and TextView are from View, Intent id from java.lang.Object
5)Only one.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.