title: How to fix 'android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5035)' error in android
body: <p>I have layout with child (NOT as root) element RelativeLayout and then i create ViewPager and insert it as child of my Relative layout, so it's like</p>
  
  <p>+Relative Layout (root)</p>
  
  <p>|</p>
  
  <p>+-- Relative Layout (child)</p>
  
  <p>|</p>
  
  <p>+-- -- ViewPager</p>
  
  <p>For now moment - all ok.</p>
  
  <p>But then i try add some view item to ViewPager with own layout then i got error</p>
  
  <pre><code>10-12 15:32:46.777: E/AndroidRuntime(6031): FATAL EXCEPTION: main
  10-12 15:32:46.777: E/AndroidRuntime(6031): java.lang.StackOverflowError
  10-12 15:32:46.777: E/AndroidRuntime(6031):     at android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5035)
  </code></pre>
  
  <p>How do that ViewPager will me as Child of RelativeLayout with havin own Child Views?</p>