bug:
3417930
1. Added a check if the widget is in edit mode to determine if to
play the initial annimation.
Change-Id: Ibcf23fa1ec55a1950323e71eda90da6418b655fb
updateInputTextView();
updateIncrementAndDecrementButtonsVisibilityState();
- if (mFlingable) {
+ if (mFlingable && !isInEditMode()) {
// Start with shown selector wheel and hidden controls. When made
// visible hide the selector and fade-in the controls to suggest
// fling interaction.
super.onAttachedToWindow();
// make sure we show the controls only the very
// first time the user sees this widget
- if (mFlingable) {
+ if (mFlingable && !isInEditMode()) {
// animate a bit slower the very first time
showInputControls(mShowInputControlsAnimimationDuration * 2);
}