Multiple Choice
Which UI does the following code builds? <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
Xmlns:android=http:// schemas.android.com/apk/res/android
Android:layout_width="match_parent"
Android:layout_height="match_parent"
Android:orientation="vertical" >
<LinearLayout
Android:layout_height="wrap_content"
Android:orientation="horizontal" >
<TextView
Android:id="@+id/textView1"
Android:layout_width="wrap_content"
Android:text="Name:" />
<EditText
android:id="@+id/editText1"
Android:layout_weight="1"
android:ems="10" />
</LinearLayout>
<Button
Android:id="@+id/button1"
Android:text="Post" />
A) An edit text to the left of a text view and a button beneath it
B) An edit text to the right of a text view and a button to the right of the text view
C) An edit text to the right of a text view and a button beneath them
D) A text view, an edit text beneath it and the button beneath the edit text
Correct Answer:

Verified
Correct Answer:
Verified
Q114: Which of the following is not included
Q115: Which of the following is NOT true
Q116: Which of the following lines of code
Q117: Which of the following is NOT true
Q118: The DalvikVM core libraries are a subset
Q120: GPS provider requires a physical device and
Q121: Which ORMLite library annotation would you use
Q122: Which configuration file holds the permission to
Q123: What is the default background color of
Q124: Which of the following is a Java