Kotlin Fundamentals: Design for everyone quiz Return to pathway Which tag is used to define themes? What is the difference between themes and styles? Themes apply to the entire app, while you can apply styles to specific views. Themes cannot inherit from other themes, but styles can inherit from other styles. Styles cannot inherit from other styles, but themes can inherit from other themes. Themes are provided by the Android system, while styles are defined by the developer. Assume you have a TextView with a textSize attribute of 16sp. This TextView also has a style applied to it which sets textSize to 14sp. In addition, there is also a theme in the app that sets textSize to 12sp. What is the actual textSize of the TextView that will be displayed on screen? 12sp 14sp 16sp 18sp Which of the following is true about the floating action button (FAB)? The FAB is usually associated with a primary action the user can take on the screen. The FAB must be positioned in the bottom-right corner, 16 dp from the edge of the screen. The FAB uses a special click handler so that you don't have to write your own view model code. The FAB is a mandatory element for apps that implement Material Design principles. Which of the following are reasons for using Material Design components? Select all that apply. Choose as many answers as you see fit. They are designed to be beautiful, functional, and work together. They help you create an app that uses consistent styling. They help you make your app more accessible for all users. Android Studio will give you a warning if you are using a poor color scheme. Which of the following are reasons for defining and using dimensions? Select all that apply. Choose as many answers as you see fit. Makes it easier to apply the same measurements across the app. Allows you to give meaningful semantic names to measurements. Makes it easier to change measurements across your app. Dimensions are required for using Material Design. Which of the following is mandatory for supporting RTL languages? Switch to an RTL language keyboard Make sure all icons use android:autoMirrored="true" Replace Left and Right in margins, padding, and layout properties with Start and End Provide content descriptions Which of the following accessibility tools are available on Android devices? Choose as many answers as you see fit. TalkBack Accessibility Scanner In Android Studio, Refactor > Add RTL support where possible Lint Inheriting from which theme gives you default styling for dark and light modes? Theme.MaterialComponents.DayNight Theme.DarkTheme Theme.MaterialComponents.DarkAndLightTheme Theme.AppCompat.Light What is a live region? A node that contains information that is important for the user and when it changes, the user should be notified A region of the screen that changes shape according to Material Design guidelines A view that allows streaming video An animated drawable Submit answers error_outline An error occurred when grading the quiz. Please try again.