wldfire1909 wldfire1909
  • 29-06-2019
  • Computers and Technology
contestada

An icon can be specified for a tab using the _____ method.

addTab
setIcon
setImage
tabIcon

Respuesta :

rehanafaisalkhan rehanafaisalkhan
  • 06-07-2019

Answer:

setIcon

Explanation:

In design support library the components like nav bar, floating action button, snackbar, tabs, labels and animation frameworks we use icons and different other designs to look theme appealing.

So the icon can be specified for a tab using the setIcon method.

tabLayout.getTabAt(0).setIcon(tabIcons[0]);

tabLayout.getTabAt(1).setIcon(tabIcons[1]);

Answer Link

Otras preguntas

what percent of 84 is 12?
the drama club sold 1500 tickets for the end of the year performance. Admission prices were 12 for adults and $6 for students. The total amount collected at the
Solve the literal equation for the variable X. 6x + 2y = a
Let f(x) = 5x + 12. Find f-1(x).
explain how to write 50,000 using exponent
What are the correct names of two medical conditions that may cause an individual to be disabled?
True or False... Renewable resources have disadvantages. If so what are the disadvantages?
What has improved to make scientist better able to understand the cell?
find the number: it only has 2 different digits, but they repeat. the digits appear in the same order in both periods. the sum of the digits is 20. the ones d
What is electrostatic repulsion?