← All AAD Flashcard Decks

User Interface (UI) Design & Development Flashcards

6 cards from real AAD practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 User Interface (UI) Design & Development flashcards as text
  1. Which XML attribute is used to set the width of a UI component in Android?

    Answer: android:layout_width

    The 'layout_width' attribute is essential for defining the width of UI components in Android layouts.

  2. What is the purpose of ConstraintLayout in Android UI design?

    Answer: To provide a responsive and flat UI design

    ConstraintLayout allows flexible and complex UI design by defining constraints between UI elements, reducing nested layouts.

  3. Which UI component is best suited for displaying a list of scrollable items in Android?

    Answer: RecyclerView

    RecyclerView is the recommended UI component for handling large datasets efficiently by reusing item views.

  4. Which of the following UI components is commonly used to handle user interactions such as button clicks?

    Answer: Button

    A Button in Android is a key UI element that responds to user interactions such as clicks.

  5. What is the primary advantage of using Jetpack Compose for UI design in Android?

    Answer: It allows creating UI declaratively with Kotlin

    Jetpack Compose provides a modern, declarative approach to UI development, reducing boilerplate code and improving performance.

  6. Which method is used to programmatically update a TextView’s text content in Android?

    Answer: setText()

    The setText() method is the standard approach to updating the text content of a TextView in Android.