java.lang.IllegalStateException

Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1089)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18081

  • via Stack Overflow by mohammad samiee
    , 10 months ago
    Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1089)
  • Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge
  • Child drawer has absolute gravity RIGHT but this DrawerLayout already has a drawer view along that edge
  • Stack trace

    • java.lang.IllegalStateException: Child drawer has absolute gravity LEFT but this DrawerLayout already has a drawer view along that edge at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1089) at android.view.View.measure(View.java:18916) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5972) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at android.view.View.measure(View.java:18916) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5972)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago