Which layout organizes views side by side in its horizontal version?
Question 3Which layout organizes views side by side in its horizontal version? 1 point GridLayout LinearLayout RelativeLayout
Question 3Which layout organizes views side by side in its horizontal version? 1 point GridLayout LinearLayout RelativeLayout
Question 2The following XML code is valid to define a graphical user interface: 1234567891011121314 1 point false true
Question 1A ViewGroup (such as a LinearLayout for instance) allows you to organize the components of the graphical user interface. Which of the following propositions are true? 1 point A…
Question 6How can you react to click events on an item of a ListView? 1 point I create and associate to the ListView an object implementing the AdapterView.OnItemClickListener interface. In…
Question 5How do you populate a ListView? 1 point I use the addItem(Sring s) method. I use the addChild(View v) method. I use an ArrayAdapter which creates a TextView for…
Question 4How do you preview your user interface for the various languages you provide translation for? 1 point It cannot be previewed without a (real or emulated) device: I change…
Question 3Your res/values/strings.xml file contains: 12<string name=”labelA”>Lalala</string><string name=”labelB”>Broum</string>and your res/values-fr/strings.xml file contains: 1<string name=”labelB”>Bebebe</string>What happen if the device language is set to French and the interface asks for the “labelA”…
Question 2Which folder of your Android Studio project contains the French translation of your application? 1 point /app/src/main/res/strings-fr /app/src/main/res/locales /app/src/main/res/values-fr /app/src/main/res/translations
Question 1To create an application that proposes the user interface in multiple languages the best way is to… 1 point to request a translation from the Google service for each…
Question 12The following code displays a pop-up message reading “hello” for a short duration: 1Toast.makeText(getApplicationContext(), “hello”, Toast.LENGTH_SHORT);1 point true false