Question from the Android test

What is the output of the following code? public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button button = findViewById(R.id.button); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // TODO: Add your code here } }); } }

Hard

In the Android design library, what is the purpose of the CoordinatorLayout?

Author: Nicolas LaurentStatus: PublishedQuestion passed 341 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!