Solved

We Have a Custom View That Extends Android

Question 74

Multiple Choice

We have a custom view that extends android.widget.ProgressBar. Our progress bar is not touchable, focusable, etc.: it just shows progress. Style for our custom progress bar extends "Widget.AppCompat.ProgressBar.Horizontal". An item, named "progressDrawable", in our style, is a xml file . What we usually can see as a main single element in this xml file:


A) A State List (<selector> element )
B) A Layer List (<layer-list> element) with items android:id="@+id/progress" and android:id="@+id/background" inside it.
C) An <ImageView> element with android:id="@+id/progress" identifier

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents