java.lang.IllegalStateException: Child drawer has absolute gravity RIGHT but this DrawerLayout already has a drawer view along that edge

Stack Overflow | david | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    double drawer from the same side ? android drawerlayout

    Stack Overflow | 11 months ago | david
    java.lang.IllegalStateException: Child drawer has absolute gravity RIGHT but this DrawerLayout already has a drawer view along that edge
  2. 0

    Why DrawerLayout and ActionBar not working on Tablets?

    Stack Overflow | 3 years ago | ANDROBIB
    java.lang.IllegalStateException: Child android.widget.FrameLayout@41f91e40 at index 0 does not have a valid layout_gravity - must be Gravity.LEFT, Gravity.RIGHT or Gravity.NO_GRAVITY
  3. 0

    Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge

    Stack Overflow | 4 months ago | Nabia Saroosh
    java.lang.IllegalStateException: Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Agócs Tamás 6 times, last 11 months ago
1 unregistered visitors

Root Cause Analysis

  1. java.lang.IllegalStateException

    Child drawer has absolute gravity RIGHT but this DrawerLayout already has a drawer view along that edge

    at android.support.v4.widget.DrawerLayout.onMeasure_Original()
  2. Android Support v4
    DrawerLayout.onMeasure
    1. android.support.v4.widget.DrawerLayout.onMeasure_Original(DrawerLayout.java:1089)
    2. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java)
    2 frames
  3. Android Platform
    RelativeLayout.onMeasure
    1. android.view.View.measure(View.java:18788)
    2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
    3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
    4. android.view.View.measure(View.java:18788)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
    6. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
    7. android.view.View.measure(View.java:18788)
    8. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
    9. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
    9 frames