Get user input in an app: Part 2 Return to pathway Which line(s) of XML code will produce an error? 1 <TextView 2 android:layout_width="wrap_content" 3 android:layout_height"wrap_content" 4 android:padding="8dp" 5 android:text="@string/title" 6 android:textSize=18sp /> Choose as many answers as you see fit. Line 1 - Missing closing tag > after <TextView. Line 3 - Missing = symbol after android:layout_height attribute. Line 4 - The android:padding attribute does not exist for a TextView. Line 5 - Use @str/title to refer to a string resource. Line 6 - Missing quotations around the attribute value 18sp. Which of the following is true about Gradle? Choose as many answers as you see fit. Gradle is an automated build system used by Android Studio to build your apps. Gradle handles installing your app on a device. Your app’s build.gradle file is written in XML. You can configure Android-specific options for your project in your app’s build.gradle file. The gradle configuration for your project cannot change after you initially create the project. Which of the following statements about app icons are true? Choose as many answers as you see fit. It is sufficient to provide a single bitmap image of your app icon in your project to make it appear high quality on a range of Android devices. mdpi, hdpi, xhdpi, xxhdpi, and xxxhdpi are density qualifiers for resource directories to indicate that these are resources to be used on devices with a specific screen density. Adaptive icons are made up of a foreground and background layer, and an OEM mask will be applied on top of them. Vector drawables only work for a certain screen density and should not be scaled. Which of the below steps are part of changing the color of your app theme? Choose as many answers as you see fit. Modify the themes.xml (night) file. Set the primary and secondary color theme attributes of your app theme. Define the colors used in your app as color resources in the colors.xml file. Set the background color of your app in the activity's layout file. Set the color attribute on all your UI components. Change the name of your theme to your preferred color. Why use the Material Components for Android library? Choose as many answers as you see fit. It provides widgets that follow the Material Design guidelines such as text fields and switches. It makes your code compile faster. It provides default Material themes that you can use directly or extend and then customize. It automatically suggests ways for your app to look better. It helps you more quickly build beautiful user experiences. Submit answers error_outline An error occurred when grading the quiz. Please try again.