Sapient Company Programming

What type of files does menu directory contain?

1) XML files that define application menus, such as an Options Menu
2) XML files that define application menus, such as a Context Menu
3) Both of the above
4) none of the above

Read Solution (Total 1)

Sapient Other Question

Which attributes are required to specify the app Widget's absolute minimum size?

1) mixResizeWidth, minResizeHeight
2) resizeWidth, ResizeHeight
3) minWidth, minHeight
4) none of the above
What will be the output of the following code?

AnimatorSet bouncer = new AnimatorSet();
bouncer.play(bounceAnim).before(squashAnim1);
bouncer.play(squashAnim1).with(squashAnim2);
bouncer.play(squashAnim1).with(stretchAnim1);
bouncer.play(squashAnim1).with(stretchAnim2);
ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f);
fadeAnim.setDuration(250);
AnimatorSet animatorSet = new AnimatorSet();
animatorSet.play(bouncer).before(fadeAnim);
animatorSet.start();

1) runs successfully
2) compile time error
3) runtime error
4) none of the above