Computer scienceMobileAndroidUser InterfaceUI componentsContainers

LinearLayout in Action

Drawable size

Report a typo

Fill in the blank to make the Drawable inside the TextView two times bigger than it would be if we used setCompoundDrawablesWithIntrinsicBounds.

// icon: Drawable
icon.setBounds(0, 0, _______________________________)
textView.setCompoundDrawables(icon, null, null, null)
Enter a short text
___

Create a free account to access the full topic