Skip to content

Commit

Permalink
Update opening-drawer-from-espresso.md
Browse files Browse the repository at this point in the history
  • Loading branch information
herau committed Oct 17, 2016
1 parent fdff76b commit fcbd92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FAQ/opening-drawer-from-espresso.md
Expand Up @@ -7,4 +7,4 @@ First, you need a add `espresso-contrib` to your project. It has the needed `Dra

Then, you need to open the drawer with his `openDrawer()` method and the drawer layout ID. The generated one is `R.id.material_drawer_layout`

`onView(withId(R.id.material_drawer_layout)).perform(DrawerActions.open(Gravity.START));`
`onView(withId(R.id.material_drawer_layout)).perform(DrawerActions.open());`

0 comments on commit fcbd92d

Please sign in to comment.