title: StackOverflowError on Switching Views
body: <p>When I'm switching two view(Gris view and List view in same layout).  I'm doing animation  to switching views to show data in LISTVIEW and GRID VIEW. it showing in gridview properly, if i clicked button to switch LISTVIEW. app is crashing and I got following log info. </p>
  
  <p>Note: Same code is working properly in other version. even it is crashing only on Device not in emulator. </p>
  
  <pre><code>02-25 14:20:00.859: E/AndroidRuntime(3179): FATAL EXCEPTION: main
  02-25 14:20:00.859: E/AndroidRuntime(3179): java.lang.StackOverflowError
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.GLES20Canvas.nGetClipBounds(Native Method)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.GLES20Canvas.getClipBounds(GLES20Canvas.java:471)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.text.Layout.draw(Layout.java:203)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.text.BoringLayout.draw(BoringLayout.java:400)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.widget.TextView.onDraw(TextView.java:5038)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.widget.CompoundButton.onDraw(CompoundButton.java:226)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10982)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10985)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10985)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179): at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10985)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.widget.FrameLayout.draw(FrameLayout.java:450)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.widget.ScrollView.draw(ScrollView.java:1524)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10985)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.draw(View.java:10985)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10421)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.View.getDisplayList(View.java:10419)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.drawChild(ViewGroup.java:2850)
  02-25 14:20:00.859: E/AndroidRuntime(3179):     at android.view.ViewGroup.dispatchDraw(ViewGroup.j
  </code></pre>