title: How to create an ActionDrawer with a single action
body: <p>as pointed out in the google guidelines: <a href="https://www.google.com/design/spec-wear/components/action-drawer.html#action-drawer-usage" rel="nofollow noreferrer">https://www.google.com/design/spec-wear/components/action-drawer.html#action-drawer-usage</a>
  at 'Single Action', an ActionDrawer should not be expandable.
  My question is, how to achieve that behaviour?<br>
  I've tried an <code>WearableActionDrawer</code> and <code>WearableDrawerView</code>..
  I've also tried the method <code>lockDrawerClosed()</code> but the drawer still opens on click.
  Thanks for your help! :)</p>
  
  <p>Edit:<br>
  Ok, I found the solution to stop the drawer from opening. I'm using the <code>WearableActionDrawer</code> now and calling <code>lockDrawerClosed()</code>. But now I'm not sure how to change the peek_view properly.</p>
  
  <p>I made a custom view - LinearLayout - which is containing an ImageView. I'm using this view for <code>mWearableActiondrawer.setPeekView(myView)</code>. But the problem is, that the view will not be shown properly. It just shows me an empty ActionDrawer at the bottom.
  But the clicklistener is working.. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>// Bottom Action Drawer
  mWearableActionDrawer = (WearableActionDrawer) findViewById(R.id.bottom_action_drawer);
  mWearableActionDrawer.lockDrawerClosed();
  
  LayoutInflater layoutInflater =
      (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE);
  LinearLayout view =
      (LinearLayout) layoutInflater.inflate(R.layout.action_drawer_peek_view, null);
  
  mWearableActionDrawer.setPeekContent(view);
  
  view.setOnClickListener(new View.OnClickListener() {
    @Override public void onClick(View v) {
      Toast.makeText(getApplicationContext(), "Hello", Toast.LENGTH_SHORT).show();
    }
  });
  </code></pre>
  
  <p>Layout:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/action_drawer_peek_view"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/wearable_primary"
      android:orientation="vertical"
      &gt;
    &lt;ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:padding="10dp"
        android:src="@drawable/fill_1_copy"
        /&gt;
  &lt;/LinearLayout&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any thoughts of what I'm doing wrong here? Thanks!</p>