Solved

We Have a Custom View That Extends Android

Question 77

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